1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

now callback errors are not silent but warnings

This commit is contained in:
Brian Coca 2015-07-13 19:22:31 -04:00
parent e0632cb9a4
commit a09f44210e

View file

@ -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)))