chore(sentry): attach stacktrace to logging events (#7598)

Co-authored-by: Adrián Jesús Peña Rodríguez <adrianjpr@gmail.com>
This commit is contained in:
Andoni Alonso
2025-05-05 10:38:57 +02:00
committed by Pepe Fagoaga
parent cffa560c9d
commit dc3d5149e9
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -235,6 +235,7 @@ To view the logs for any component (e.g., Django, Celery worker), you can use th
```console
docker logs -f $(docker ps --format "{{.Names}}" | grep 'api-')
```
## Applying migrations
@@ -97,4 +97,6 @@ sentry_sdk.init(
# possible.
"continuous_profiling_auto_start": True,
},
attach_stacktrace=True,
ignore_errors=IGNORED_EXCEPTIONS,
)