provide reason for failure to load plugin
This commit is contained in:
parent
0428c30faf
commit
7b93c7d63c
|
@ -413,7 +413,7 @@ class IRCBot(irc.client.SimpleIRCClient):
|
|||
log.error("Error loading '{0:s}'".format(plugin_path))
|
||||
log.exception(e)
|
||||
if feedback:
|
||||
self.privmsg(dest, "Plugin '{0:s}' could not be loaded.".format(plugin_path))
|
||||
self.privmsg(dest, "Plugin '{0:s}' could not be loaded: {1:s}".format(plugin_path, e))
|
||||
|
||||
def handle_unload(self, connection, event, match):
|
||||
"""Handle IRC requests to unload a plugin."""
|
||||
|
|
Loading…
Reference in New Issue