diff options
author | Tom Nichols <tmnichols@gmail.com> | 2010-06-28 11:03:46 -0400 |
---|---|---|
committer | Tom Nichols <tmnichols@gmail.com> | 2010-06-28 11:03:46 -0400 |
commit | 898f96f26553f7702df20fd04fc7ae9befc72109 (patch) | |
tree | 9ddd32f13c273c4396f6d3bcc44e568125be0c97 | |
parent | 4fccd77685b73f7cf750fb761ca2714a88caec91 (diff) | |
download | slixmpp-898f96f26553f7702df20fd04fc7ae9befc72109.tar.gz slixmpp-898f96f26553f7702df20fd04fc7ae9befc72109.tar.bz2 slixmpp-898f96f26553f7702df20fd04fc7ae9befc72109.tar.xz slixmpp-898f96f26553f7702df20fd04fc7ae9befc72109.zip |
print the traceback if we can't load a plugin for some reason
-rw-r--r-- | sleekxmpp/basexmpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py index b78c255c..ad737360 100644 --- a/sleekxmpp/basexmpp.py +++ b/sleekxmpp/basexmpp.py @@ -110,7 +110,7 @@ class basexmpp(object): xep = "(XEP-%s) " % self.plugin[plugin].xep logging.debug("Loaded Plugin %s%s" % (xep, self.plugin[plugin].description)) except: - logging.error("Unable to load plugin: %s" %(plugin) ) + logging.exception("Unable to load plugin: %s", plugin ) def register_plugins(self): """Initiates all plugins in the plugins/__init__.__all__""" |