forked from orbit-oss/flask
Merge branch '0.12-maintenance'
This commit is contained in:
commit
de555c82ce
3 changed files with 24 additions and 1 deletions
|
|
@ -1991,6 +1991,9 @@ 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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue