File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 23672367
23682368# END: SDK Crash Detection
23692369
2370- # Whether to add the full stack trace to Python errors.
2371- register (
2372- "sentry_sdk.add_full_stack" ,
2373- default = False ,
2374- flags = FLAG_AUTOMATOR_MODIFIABLE ,
2375- )
2376-
23772370register (
23782371 # Lists the shared resource ids we want to account usage for.
23792372 "shared_resources_accounting_enabled" ,
Original file line number Diff line number Diff line change @@ -285,6 +285,7 @@ class Dsns(NamedTuple):
285285def _get_sdk_options () -> tuple [SdkConfig , Dsns ]:
286286 sdk_options = settings .SENTRY_SDK_CONFIG .copy ()
287287 sdk_options ["send_client_reports" ] = True
288+ sdk_options ["add_full_stack" ] = True
288289 sdk_options ["traces_sampler" ] = traces_sampler
289290 sdk_options ["before_send_transaction" ] = before_send_transaction
290291 sdk_options ["before_send" ] = before_send
@@ -296,7 +297,6 @@ def _get_sdk_options() -> tuple[SdkConfig, Dsns]:
296297 before_send_log = before_send_log ,
297298 enable_logs = True ,
298299 )
299- sdk_options ["add_full_stack" ] = options .get ("sentry_sdk.add_full_stack" , False )
300300
301301 # Modify SENTRY_SDK_CONFIG in your deployment scripts to specify your desired DSN
302302 dsns = Dsns (
You can’t perform that action at this time.
0 commit comments