[web application] Fix missing self. in error_handler stable
authorVincent Michel <vincent.michel@logilab.fr>
Fri, 08 Mar 2013 18:04:40 +0100
branchstable
changeset 8709 8dc0b8d92694
parent 8690 c0a06ac390cc
child 8710 becbbbc840b8
[web application] Fix missing self. in error_handler
web/application.py
--- a/web/application.py	Tue Feb 12 11:35:15 2013 +0100
+++ b/web/application.py	Fri Mar 08 18:04:40 2013 +0100
@@ -543,7 +543,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: