diff options
author | Thom Nichols <tmnichols@gmail.com> | 2010-06-25 16:31:38 -0400 |
---|---|---|
committer | Thom Nichols <tmnichols@gmail.com> | 2010-06-25 16:31:38 -0400 |
commit | bbf1cb8ba2e913e2c72723a3d0739d499655a5be (patch) | |
tree | f954509d17991173a00d2fc877e8e8ce55cc7fa9 /sleekxmpp | |
parent | d22f6a2aa523a5a19b1cb20e99e3091976a461c1 (diff) | |
download | slixmpp-bbf1cb8ba2e913e2c72723a3d0739d499655a5be.tar.gz slixmpp-bbf1cb8ba2e913e2c72723a3d0739d499655a5be.tar.bz2 slixmpp-bbf1cb8ba2e913e2c72723a3d0739d499655a5be.tar.xz slixmpp-bbf1cb8ba2e913e2c72723a3d0739d499655a5be.zip |
output traceback when plugin load fails
Diffstat (limited to 'sleekxmpp')
-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__""" |