Skip to content

Commit 0a42333

Browse files
committed
Merge PR #533 into 16.0
Signed-off-by lmignon
2 parents 659d54b + c235c3b commit 0a42333

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fastapi/fastapi_dispatcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def handle_error(self, exc):
5252
def _make_response(self, status_mapping, headers_tuple, content):
5353
self.status = status_mapping[:3]
5454
self.headers = headers_tuple
55+
self.inner_exception = None
5556
# in case of exception, the method asgi_done_callback of the
5657
# ASGIResponder will trigger an "a2wsgi.error" event with the exception
5758
# instance stored in a tuple with the type of the exception and the traceback.

0 commit comments

Comments
 (0)