show callback exception on debug
This commit is contained in:
parent
3b667e48ff
commit
39bc3e624a
1 changed files with 3 additions and 0 deletions
|
@ -320,3 +320,6 @@ class TaskQueueManager:
|
|||
except Exception as e:
|
||||
#TODO: add config toggle to make this fatal or not?
|
||||
display.warning(u"Failure using method (%s) in callback plugin (%s): %s" % (to_unicode(method_name), to_unicode(callback_plugin), to_unicode(e)))
|
||||
from traceback import format_tb
|
||||
from sys import exc_info
|
||||
display.debug('Callback Exception: \n' + ' '.join(format_tb(exc_info()[2])))
|
||||
|
|
Loading…
Reference in a new issue