Pārlūkot izejas kodu

fix: reduce unnecessary error traceback logs

zhayujie 2 gadi atpakaļ
vecāks
revīzija
aae9b64833
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      plugins/plugin_manager.py

+ 1 - 1
plugins/plugin_manager.py

@@ -145,7 +145,7 @@ class PluginManager:
                     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