From 7b93c7d63c40ba41928cfa67510e7d196b4b25ed Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Thu, 14 May 2015 21:43:35 -0500 Subject: [PATCH] provide reason for failure to load plugin --- dr_botzo/ircbot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."""