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

Merge pull request #15235 from dagwieers/method_name-in-warning

Add the method_name to the catchall warning when using callback plugins
This commit is contained in:
Brian Coca 2016-04-01 10:00:48 -04:00
commit e7f2395487

View file

@ -319,4 +319,4 @@ class TaskQueueManager:
method(*args, **kwargs)
except Exception as e:
#TODO: add config toggle to make this fatal or not?
display.warning(u"Failure when attempting to use callback plugin (%s): %s" % (to_unicode(callback_plugin), to_unicode(e)))
display.warning(u"Failure using method (%s) in callback plugin (%s): %s" % (to_unicode(method_name), to_unicode(callback_plugin), to_unicode(e)))