Skip to content

Commit

Permalink
Fix rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
provinzkraut committed Apr 27, 2024
1 parent 6e5b6f7 commit 2536957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litestar/middleware/_internal/exceptions/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ async def handle_request_exception(
exception_handler = get_exception_handler(exception_handlers, exc) or self.default_http_exception_handler
request: Request[Any, Any, Any] = litestar_app.request_class(scope=scope, receive=receive, send=send)
response = exception_handler(request, exc)
await response.to_asgi_response(app=None, request=request)(scope=scope, receive=receive, send=send)
await response.to_asgi_response(request=request)(scope=scope, receive=receive, send=send)

@staticmethod
async def handle_websocket_exception(send: Send, exc: Exception) -> None:
Expand Down

0 comments on commit 2536957

Please sign in to comment.