This commit is contained in:
Luke Rogers 2013-11-10 18:28:22 +13:00
parent bae3c819ca
commit 355f5ce2e6
5 changed files with 23 additions and 19 deletions

View file

@ -70,8 +70,8 @@ class PluginLoader(object):
namespace = {}
eval(code, namespace)
except Exception:
self.bot.logger.error("Error compiling {}:".format(filename))
self.bot.logger.error(traceback.format_exc())
self.bot.logger.exception("Error compiling {}:".format(filename))
#self.bot.logger.error(traceback.format_exc())
return
# remove plugins already loaded from this file