Log the plugin errors too
This commit is contained in:
parent
bd1c41472a
commit
741ea61454
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ class SafetyMetaclass(type):
|
|||
if inspect.stack()[1][1] == inspect.getfile(f):
|
||||
raise
|
||||
elif SafetyMetaclass.core:
|
||||
log.error('Error in a plugin', exc_info=True)
|
||||
SafetyMetaclass.core.information(traceback.format_exc())
|
||||
return None
|
||||
return helper
|
||||
|
|
Loading…
Reference in a new issue