mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
report extra info in verbose and if needed
This commit is contained in:
@@ -67,8 +67,6 @@ class AnsibleError(Exception):
|
||||
self.message = '%s' % to_native(message)
|
||||
if orig_exc:
|
||||
self.orig_exc = orig_exc
|
||||
self.message += '\nexception type: %s' % to_native(type(orig_exc))
|
||||
self.message += '\nexception: %s' % to_native(orig_exc)
|
||||
|
||||
self.tb = ''.join(traceback.format_tb(sys.exc_info()[2]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user