Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius
diff options
context:
space:
mode:
authorSimon Poirier <simpoir@gmail.com>2009-12-07 20:41:34 (GMT)
committer Simon Poirier <simpoir@gmail.com>2009-12-07 20:41:34 (GMT)
commit7e65bdb14c2b3a9e04762755a19fcdc9922291fc (patch)
treed30ef3ccfbf835317d9747d764ee44ea08024236 /tutorius
parent534a766fdc24b29777d982b66a71e56c906e4e31 (diff)
forgot to add the exception string
Diffstat (limited to 'tutorius')
-rw-r--r--tutorius/addon.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tutorius/addon.py b/tutorius/addon.py
index 18d225a..ca729ae 100644
--- a/tutorius/addon.py
+++ b/tutorius/addon.py
@@ -63,12 +63,12 @@ def _reload_addons():
if hasattr(mod, "__event__"):
_cache[mod.__event__['name']] = mod.__event__
mod.__event__['type'] = TYPE_EVENT
- except:
+ except Exception, e:
# fetch frame information to complement exception with traceback
type, value, tb = sys.exc_info()
formatted_tb = traceback.format_tb(tb)
- LOGGER.error('Error loadin tutorius add-on [%s]:\n%s' % \
- (mod_name, '\n'.join(formatted_tb)))
+ LOGGER.error('Error loadin tutorius add-on [%s]:\n%s\n%s' % \
+ (mod_name, '\n'.join(formatted_tb), str(e)))
def create(name, *args, **kwargs):
global _cache