Skip to content

Commit 6fda569

Browse files
default to true
1 parent bb8b7a7 commit 6fda569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/integrations/asgi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ async def _run_app(
193193
suppress_chained_exceptions = (
194194
sentry_sdk.get_client()
195195
.options.get("_experiments", {})
196-
.get("suppress_asgi_chained_exceptions", False)
196+
.get("suppress_asgi_chained_exceptions", True)
197197
)
198198
if suppress_chained_exceptions:
199199
self._capture_lifespan_exception(exc)
@@ -340,7 +340,7 @@ async def _sentry_wrapped_send(
340340
suppress_chained_exceptions = (
341341
sentry_sdk.get_client()
342342
.options.get("_experiments", {})
343-
.get("suppress_asgi_chained_exceptions", False)
343+
.get("suppress_asgi_chained_exceptions", True)
344344
)
345345
if suppress_chained_exceptions:
346346
self._capture_request_exception(exc)

0 commit comments

Comments
 (0)