File tree 2 files changed +1
-8
lines changed
2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 2367
2367
2368
2368
# END: SDK Crash Detection
2369
2369
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
-
2377
2370
register (
2378
2371
# Lists the shared resource ids we want to account usage for.
2379
2372
"shared_resources_accounting_enabled" ,
Original file line number Diff line number Diff line change @@ -285,6 +285,7 @@ class Dsns(NamedTuple):
285
285
def _get_sdk_options () -> tuple [SdkConfig , Dsns ]:
286
286
sdk_options = settings .SENTRY_SDK_CONFIG .copy ()
287
287
sdk_options ["send_client_reports" ] = True
288
+ sdk_options ["add_full_stack" ] = True
288
289
sdk_options ["traces_sampler" ] = traces_sampler
289
290
sdk_options ["before_send_transaction" ] = before_send_transaction
290
291
sdk_options ["before_send" ] = before_send
@@ -296,7 +297,6 @@ def _get_sdk_options() -> tuple[SdkConfig, Dsns]:
296
297
before_send_log = before_send_log ,
297
298
enable_logs = True ,
298
299
)
299
- sdk_options ["add_full_stack" ] = options .get ("sentry_sdk.add_full_stack" , False )
300
300
301
301
# Modify SENTRY_SDK_CONFIG in your deployment scripts to specify your desired DSN
302
302
dsns = Dsns (
You can’t perform that action at this time.
0 commit comments