PluginDownloader: Fix traceback printing.

This commit is contained in:
Valentin Lorentz 2013-11-10 17:48:09 +01:00
parent fed2bcf9d3
commit 6c9b03f70c

View File

@ -308,7 +308,7 @@ class PluginDownloader(callbacks.Plugin):
irc.replySuccess() irc.replySuccess()
except Exception as e: except Exception as e:
import traceback import traceback
traceback.print_exc(e) traceback.print_exc()
log.error(str(e)) log.error(str(e))
irc.error('The plugin could not be installed. Check the logs ' irc.error('The plugin could not be installed. Check the logs '
'for a more detailed error.') 'for a more detailed error.')