From cf1ce0db29536984ca158b3c830cb3c3f772bdea Mon Sep 17 00:00:00 2001 From: Elisa Anguita Date: Mon, 18 Nov 2024 17:49:44 -0300 Subject: [PATCH] feat(sentry): Enable stack trace attachment for logs - Added the `attach_stacktrace` setting in Sentry configuration to include stack traces in logged errors. --- cl/settings/third_party/sentry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cl/settings/third_party/sentry.py b/cl/settings/third_party/sentry.py index bc0c4f107a..41962779e5 100644 --- a/cl/settings/third_party/sentry.py +++ b/cl/settings/third_party/sentry.py @@ -52,4 +52,5 @@ def fingerprint_sentry_error(event: dict, hint: dict) -> dict: ], ignore_errors=[KeyboardInterrupt], before_send=fingerprint_sentry_error, + attach_stacktrace=True, )