Restore try logic in dispatcher.
This commit is contained in:
parent
83c324cb1f
commit
94080ea3a6
|
@ -27,8 +27,8 @@ class Dispatcher(object):
|
||||||
# keep going, let other plugins handle this if they want
|
# keep going, let other plugins handle this if they want
|
||||||
for plugin in self._plugins:
|
for plugin in self._plugins:
|
||||||
if plugin.can_handle(action):
|
if plugin.can_handle(action):
|
||||||
success &= plugin.handle(action, task[action])
|
|
||||||
try:
|
try:
|
||||||
|
success &= plugin.handle(action, task[action])
|
||||||
handled = True
|
handled = True
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
self._log.error(
|
self._log.error(
|
||||||
|
|
Loading…
Reference in a new issue