Skip to content

Commit

Permalink
fix: reduce unnecessary error traceback logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhayujie committed Jul 20, 2023
1 parent 4bab429 commit aae9b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/plugin_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def activate_plugins(self): # 生成新开启的插件实例
try:
instance = plugincls()
except Exception as e:
logger.exception("Failed to init %s, diabled. %s" % (name, e))
logger.warn("Failed to init %s, diabled. %s" % (name, e))
self.disable_plugin(name)
failed_plugins.append(name)
continue
Expand Down

0 comments on commit aae9b64

Please sign in to comment.