Commits

Robert Brewer committed a21997b

Removed unused 'exc' argument to handle_error.

  • Participants
  • Parent commits b501837

Comments (0)

Files changed (1)

File cherrypy/_cprequest.py

         except:
             if self.throw_errors:
                 raise
-            self.handle_error(sys.exc_info())
+            self.handle_error()
     
     def process_headers(self):
         """Parse HTTP header data into Python structures. (Core)"""
             self.body_params = p = http.params_from_CGI_form(forms)
             self.params.update(p)
     
-    def handle_error(self, exc):
+    def handle_error(self):
         """Handle the last unanticipated exception. (Core)"""
         try:
             self.hooks.run("before_error_response")