now callback errors are not silent but warnings

pull/11006/head
Brian Coca 10 years ago
parent e0632cb9a4
commit a09f44210e

@ -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…
Cancel
Save