pylint disable broad excepts when it make sense.
This commit is contained in:
@ -74,8 +74,8 @@ class PluginExecutionContext:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
self.plugin.run(self)
|
self.plugin.run(self)
|
||||||
except Exception as exc:
|
except Exception as exc: # pylint: disable=broad-except
|
||||||
print('error', type(exc), exc)
|
self.handle_error(exc, traceback.format_exc())
|
||||||
|
|
||||||
sleep(0.25)
|
sleep(0.25)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user