Add Sentry config

This commit is contained in:
Marijn Doeve
2025-04-29 08:34:55 +02:00
parent 60723657c2
commit ca08df26b2
2 changed files with 13 additions and 9 deletions

View File

@@ -33,6 +33,7 @@ RUN set -eux; \
zip \
uuid \
gd \
excimer \
;
# https://getcomposer.org/doc/03-cli.md#composer-allow-superuser

View File

@@ -4,7 +4,10 @@ when@prod:
# Add request headers, cookies, IP address and the authenticated user
# see https://docs.sentry.io/platforms/php/data-management/data-collected/ for more info
# send_default_pii: true
options:
traces_sample_rate: 1.0
profiles_sample_rate: 1.0
ignore_exceptions:
- 'Symfony\Component\ErrorHandler\Error\FatalError'
- 'Symfony\Component\Debug\Exception\FatalErrorException'