1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 16:12:29 +00:00

Added traceback to plugin activation

This commit is contained in:
J. Fernando Sánchez 2015-11-05 18:48:07 +01:00
parent 7de5b41340
commit bd2e0f0d5c
2 changed files with 2 additions and 1 deletions

View File

@ -136,6 +136,7 @@ class Senpy(object):
except Exception as ex: except Exception as ex:
logger.error("Error activating plugin {}: {}".format(plugin.name, logger.error("Error activating plugin {}: {}".format(plugin.name,
ex)) ex))
logger.error("Trace: {}".format(traceback.format_exc()))
th = gevent.spawn(act) th = gevent.spawn(act)
th.link_value(partial(self._set_active_plugin, plugin_name, True)) th.link_value(partial(self._set_active_plugin, plugin_name, True))
if sync: if sync:

View File

@ -15,7 +15,7 @@ except AttributeError:
install_reqs = [str(ir.req) for ir in install_reqs] install_reqs = [str(ir.req) for ir in install_reqs]
test_reqs = [str(ir.req) for ir in test_reqs] test_reqs = [str(ir.req) for ir in test_reqs]
VERSION = "0.4.9" VERSION = "0.4.10rc"
setup( setup(
name='senpy', name='senpy',