mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
PluginDownload: Output more detailed error log.
This commit is contained in:
parent
384e1dc695
commit
46a25b913c
@ -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'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user