cubicweb/pyramid/session.py
changeset 12225 a8ed10f80a85
parent 12108 1a5fc93c81db
child 12243 a46fb3f58ea2
--- a/cubicweb/pyramid/session.py	Mon Oct 30 09:28:52 2017 +0100
+++ b/cubicweb/pyramid/session.py	Mon Oct 30 09:32:26 2017 +0100
@@ -102,7 +102,7 @@
         def newfn(*args, **kw):
             try:
                 return fn(*args, **kw)
-            except:
+            except Exception:
                 logger.exception("Error in %s" % fn.__name__)
         return newfn
     return wrap