output traceback when plugin load fails
This commit is contained in:
parent
d22f6a2aa5
commit
bbf1cb8ba2
@ -110,7 +110,7 @@ class basexmpp(object):
|
|||||||
xep = "(XEP-%s) " % self.plugin[plugin].xep
|
xep = "(XEP-%s) " % self.plugin[plugin].xep
|
||||||
logging.debug("Loaded Plugin %s%s" % (xep, self.plugin[plugin].description))
|
logging.debug("Loaded Plugin %s%s" % (xep, self.plugin[plugin].description))
|
||||||
except:
|
except:
|
||||||
logging.error("Unable to load plugin: %s" %(plugin) )
|
logging.exception("Unable to load plugin: %s", plugin )
|
||||||
|
|
||||||
def register_plugins(self):
|
def register_plugins(self):
|
||||||
"""Initiates all plugins in the plugins/__init__.__all__"""
|
"""Initiates all plugins in the plugins/__init__.__all__"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user