File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ class CompressionAlgo(Enum):
8686 "before_send_span" : Optional [
8787 Callable [[SpanJSON , Hint ], Optional [SpanJSON ]]
8888 ],
89- "suppress_asgi_chained_exceptions" : Optional [bool ],
9089 "data_collection" : Optional [DataCollectionUserOptions ],
9190 },
9291 total = False ,
Original file line number Diff line number Diff line change @@ -205,15 +205,6 @@ async def _run_app(
205205 return await self .app (scope , receive , send )
206206
207207 except Exception as exc :
208- suppress_chained_exceptions = (
209- sentry_sdk .get_client ()
210- .options .get ("_experiments" , {})
211- .get ("suppress_asgi_chained_exceptions" , True )
212- )
213- if suppress_chained_exceptions :
214- self ._capture_lifespan_exception (exc )
215- raise exc from None
216-
217208 exc_info = sys .exc_info ()
218209 with capture_internal_exceptions ():
219210 self ._capture_lifespan_exception (exc )
@@ -365,15 +356,6 @@ async def _sentry_wrapped_send(
365356 )
366357
367358 except Exception as exc :
368- suppress_chained_exceptions = (
369- sentry_sdk .get_client ()
370- .options .get ("_experiments" , {})
371- .get ("suppress_asgi_chained_exceptions" , True )
372- )
373- if suppress_chained_exceptions :
374- self ._capture_request_exception (exc )
375- raise exc from None
376-
377359 exc_info = sys .exc_info ()
378360 with capture_internal_exceptions ():
379361 self ._capture_request_exception (exc )
You can’t perform that action at this time.
0 commit comments