Skip to content

Commit 4b852ac

Browse files
chore(sentry): attach stacktrace to logging events (#7598)
Co-authored-by: Adrián Jesús Peña Rodríguez <adrianjpr@gmail.com>
1 parent fd9808f commit 4b852ac

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ To view the logs for any component (e.g., Django, Celery worker), you can use th
235235

236236
```console
237237
docker logs -f $(docker ps --format "{{.Names}}" | grep 'api-')
238+
```
238239

239240
## Applying migrations
240241

api/src/backend/config/settings/sentry.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,6 @@ def before_send(event, hint):
9797
# possible.
9898
"continuous_profiling_auto_start": True,
9999
},
100+
attach_stacktrace=True,
101+
ignore_errors=IGNORED_EXCEPTIONS,
100102
)

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Prowler App can be installed in different ways, depending on your environment:
5353
You can change the environment variables in the `.env` file. Note that it is not recommended to use the default values in production environments.
5454

5555
???+ note
56-
There is a development mode available, you can use the file https://github.com/prowler-cloud/prowler/blob/master/docker-compose.dev.yml to run the app in development mode.
56+
There is a development mode available, you can use the file https://github.com/prowler-cloud/prowler/blob/master/docker-compose-dev.yml to run the app in development mode.
5757

5858
???+ warning
5959
Google and GitHub authentication is only available in [Prowler Cloud](https://prowler.com).

0 commit comments

Comments
 (0)