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:
parent
e0632cb9a4
commit
a09f44210e
1 changed files with 4 additions and 1 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue