From 46a25b913c50c2502bac9b6d035731a87978261b Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 19 Dec 2012 16:43:14 +0000 Subject: [PATCH] PluginDownload: Output more detailed error log. --- plugins/PluginDownloader/plugin.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/PluginDownloader/plugin.py b/plugins/PluginDownloader/plugin.py index 24a53463d..d5377cb3b 100644 --- a/plugins/PluginDownloader/plugin.py +++ b/plugins/PluginDownloader/plugin.py @@ -292,10 +292,11 @@ class PluginDownloader(callbacks.Plugin): repositories[repository].install(plugin) irc.replySuccess() except Exception as e: - raise e - #FIXME: more detailed error message + import traceback + traceback.print_exc(e) log.error(str(e)) - irc.error('The plugin could not be installed.') + irc.error('The plugin could not be installed. Check the logs ' + 'for a more detailed error.') install = wrap(install, ['owner', 'something', 'something'])