Commit a6187895 authored by mathieui's avatar mathieui
Browse files

Do not show the traceback if unloading a plugin failed

parent 57e58653
......@@ -104,7 +104,8 @@ class PluginManager(object):
self.core.information('Plugin %s unloaded' % name, 'Info')
except Exception as e:
import traceback
self.core.information(_("Could not unload plugin (may not be safe to try again): ") + traceback.format_exc())
log.debug("Could not unload plugin: \n%s", traceback.format_exc())
self.core.information("Could not unload plugin: %s" % e, 'Error')
def del_command(self, module_name, name):
if name in self.commands[module_name]:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment