equal
deleted
inserted
replaced
82 except cubicweb.web.RemoteCallFailed as ex: |
82 except cubicweb.web.RemoteCallFailed as ex: |
83 # XXX The default pyramid error handler (or one that we provide |
83 # XXX The default pyramid error handler (or one that we provide |
84 # for this exception) should be enough |
84 # for this exception) should be enough |
85 # content = self.appli.ajax_error_handler(req, ex) |
85 # content = self.appli.ajax_error_handler(req, ex) |
86 raise |
86 raise |
|
87 except cubicweb.web.NotFound as ex: |
|
88 raise httpexceptions.HTTPNotFound(ex.message) |
87 |
89 |
88 if content is not None: |
90 if content is not None: |
89 request.response.body = content |
91 request.response.body = content |
90 |
92 |
91 # XXX CubicWebPyramidRequest.headers_out should |
93 # XXX CubicWebPyramidRequest.headers_out should |