mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
now callback errors are not silent but warnings
This commit is contained in:
@@ -300,5 +300,8 @@ class TaskQueueManager:
|
||||
]
|
||||
for method in methods:
|
||||
if method is not None:
|
||||
method(*args, **kwargs)
|
||||
try:
|
||||
method(*args, **kwargs)
|
||||
except Exception as e:
|
||||
self._display.warning('Error when using %s: %s' % (method, str(e)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user