We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 659d54b + c235c3b commit 0a42333Copy full SHA for 0a42333
1 file changed
fastapi/fastapi_dispatcher.py
@@ -52,6 +52,7 @@ def handle_error(self, exc):
52
def _make_response(self, status_mapping, headers_tuple, content):
53
self.status = status_mapping[:3]
54
self.headers = headers_tuple
55
+ self.inner_exception = None
56
# in case of exception, the method asgi_done_callback of the
57
# ASGIResponder will trigger an "a2wsgi.error" event with the exception
58
# instance stored in a tuple with the type of the exception and the traceback.
0 commit comments