Ensure non ansilbe exceptions keep tracebacks (#37523)
This commit is contained in:
parent
ed42331105
commit
d9430b79f9
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ class InventoryManager(object):
|
|||
failures.append({'src': source, 'plugin': plugin_name, 'exc': e})
|
||||
except Exception as e:
|
||||
display.debug('%s failed to parse %s' % (plugin_name, to_text(source)))
|
||||
failures.append({'src': source, 'plugin': plugin_name, 'exc': e})
|
||||
failures.append({'src': source, 'plugin': plugin_name, 'exc': AnsibleError(e)})
|
||||
else:
|
||||
display.debug('%s did not meet %s requirements' % (to_text(source), plugin_name))
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue