diff -r 78a99960286a -r 64a400eea6dd web/application.py --- a/web/application.py Tue Dec 18 12:42:56 2012 +0100 +++ b/web/application.py Fri Mar 08 18:43:42 2013 +0100 @@ -541,7 +541,7 @@ req.reset_message() req.reset_headers() if req.ajax_request: - return ajax_error_handler(req, ex) + return self.ajax_error_handler(req, ex) try: req.data['ex'] = ex if tb: