mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +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)
|
repositories[repository].install(plugin)
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise e
|
import traceback
|
||||||
#FIXME: more detailed error message
|
traceback.print_exc(e)
|
||||||
log.error(str(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'])
|
install = wrap(install, ['owner', 'something', 'something'])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user