equal
deleted
inserted
replaced
110 # handled when raised from a cubicweb view. |
110 # handled when raised from a cubicweb view. |
111 # BUT the real handling of validation errors should be done |
111 # BUT the real handling of validation errors should be done |
112 # earlier in the controllers, not here. In the end, the |
112 # earlier in the controllers, not here. In the end, the |
113 # ValidationError should never by handled here. |
113 # ValidationError should never by handled here. |
114 content = self.appli.validation_error_handler(req, ex) |
114 content = self.appli.validation_error_handler(req, ex) |
115 except cubicweb.web.RemoteCallFailed as ex: |
115 except cubicweb.web.RemoteCallFailed: |
116 # XXX The default pyramid error handler (or one that we provide |
116 # XXX The default pyramid error handler (or one that we provide |
117 # for this exception) should be enough |
117 # for this exception) should be enough |
118 # content = self.appli.ajax_error_handler(req, ex) |
118 # content = self.appli.ajax_error_handler(req, ex) |
119 raise |
119 raise |
120 |
120 |