Skip to content
Myr

Handle BaseExceptions

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Diggory Blake · committed by Markus Unterwaditzer · parent b0820bc · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:flask/app.py+3 added
1981 unmodified lines
1982 response = self.full_dispatch_request()1983 except Exception as e:1984 error = e1985 response = self.handle_exception(e)1986 except:1987 error = sys.exc_info()[1]1988 raise1989 return response(environ, start_response)1990 finally:1991 if self.should_ignore_error(error):1992 error = None
11 unmodified lines