Skip to content

Commit

Permalink
fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
provinzkraut committed Jun 15, 2024
1 parent 618399d commit e67dcc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ async def asgi_app(scope: Scope, receive: Receive, send: Send) -> None:
await send(start_message)
raise RuntimeError("Test exception")

mw = ExceptionHandlerMiddleware(asgi_app, None)
mw = ExceptionHandlerMiddleware(asgi_app)

with pytest.raises(LitestarException):
await mw(scope, mock_receive, mock_send)
Expand Down

0 comments on commit e67dcc7

Please sign in to comment.