cubicweb/pyramid/bwcompat.py
changeset 12355 c703dc95c82e
parent 11967 83739be20fab
child 12741 90348f847b4b
--- a/cubicweb/pyramid/bwcompat.py	Tue Oct 09 16:24:12 2018 +0200
+++ b/cubicweb/pyramid/bwcompat.py	Mon Oct 29 10:04:31 2018 +0100
@@ -112,7 +112,7 @@
                 # earlier in the controllers, not here. In the end, the
                 # ValidationError should never by handled here.
                 content = self.appli.validation_error_handler(req, ex)
-            except cubicweb.web.RemoteCallFailed as ex:
+            except cubicweb.web.RemoteCallFailed:
                 # XXX The default pyramid error handler (or one that we provide
                 # for this exception) should be enough
                 # content = self.appli.ajax_error_handler(req, ex)