305
305
res = getattr(self, req.method)(req)
307
307
res = HTTPMethodNotAllowed()
309
309
self.logger.exception(_('ERROR __call__ error with %(method)s'
310
310
' %(path)s '), {'method': req.method, 'path': req.path})
311
311
res = HTTPInternalServerError(body=traceback.format_exc())