keep track of all traceback in error handling, not just the exception message (closes #11689093)
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 08 Mar 2016 16:12:01 +0100
changeset 11608 259fa3391c7b
parent 11607 5b36399b6b21
child 11609 cc1d4b66ca26
keep track of all traceback in error handling, not just the exception message (closes #11689093)
pyramid_cubicweb/bwcompat.py
--- a/pyramid_cubicweb/bwcompat.py	Wed Nov 25 12:32:59 2015 +0100
+++ b/pyramid_cubicweb/bwcompat.py	Tue Mar 08 16:12:01 2016 +0100
@@ -138,6 +138,7 @@
         else:
             try:
                 req.data['ex'] = exc
+                req.data['excinfo'] = excinfo
                 errview = vreg['views'].select('error', req)
                 template = self.appli.main_template_id(req)
                 content = vreg['views'].main_template(req, template, view=errview)