diff --git a/dr_botzo/ircbot/bot.py b/dr_botzo/ircbot/bot.py index 4d09922..5c0edec 100644 --- a/dr_botzo/ircbot/bot.py +++ b/dr_botzo/ircbot/bot.py @@ -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."""