Skip to content

Commit 5b27acd

Browse files
committed
Adjusts exception handling comments for clarity in SentryLitestarASGIMiddleware
1 parent 3819888 commit 5b27acd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/integrations/litestar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ def _capture_request_exception(self, exc):
9191
# type: (Exception) -> None
9292
"""Avoid catching exceptions from request handlers.
9393
94-
Those exceptions are already caught in Litestar.after_exception handler.
95-
We still catch exceptions from lifespan handlers.
94+
Those exceptions are already han in Litestar.after_exception handler.
95+
We still catch exceptions from application lifespan handlers.
9696
"""
9797
pass
9898

0 commit comments

Comments
 (0)