Revert "Handle BaseExceptions (#2222)"

This reverts commit 1d4448abe3.
This commit is contained in:
Markus Unterwaditzer 2017-03-31 18:44:14 +02:00
parent 1d4448abe3
commit c935eaceaf
3 changed files with 0 additions and 23 deletions

View file

@ -1991,9 +1991,6 @@ class Flask(_PackageBoundObject):
except Exception as e:
error = e
response = self.handle_exception(e)
except:
error = sys.exc_info()[1]
raise
return response(environ, start_response)
finally:
if self.should_ignore_error(error):