mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
Add Sentry config
This commit is contained in:
@@ -33,6 +33,7 @@ RUN set -eux; \
|
|||||||
zip \
|
zip \
|
||||||
uuid \
|
uuid \
|
||||||
gd \
|
gd \
|
||||||
|
excimer \
|
||||||
;
|
;
|
||||||
|
|
||||||
# https://getcomposer.org/doc/03-cli.md#composer-allow-superuser
|
# https://getcomposer.org/doc/03-cli.md#composer-allow-superuser
|
||||||
|
|||||||
@@ -1,13 +1,16 @@
|
|||||||
when@prod:
|
when@prod:
|
||||||
sentry:
|
sentry:
|
||||||
dsn: '%env(SENTRY_DSN)%'
|
dsn: '%env(SENTRY_DSN)%'
|
||||||
# Add request headers, cookies, IP address and the authenticated user
|
# Add request headers, cookies, IP address and the authenticated user
|
||||||
# see https://docs.sentry.io/platforms/php/data-management/data-collected/ for more info
|
# see https://docs.sentry.io/platforms/php/data-management/data-collected/ for more info
|
||||||
# send_default_pii: true
|
# send_default_pii: true
|
||||||
options:
|
|
||||||
ignore_exceptions:
|
options:
|
||||||
- 'Symfony\Component\ErrorHandler\Error\FatalError'
|
traces_sample_rate: 1.0
|
||||||
- 'Symfony\Component\Debug\Exception\FatalErrorException'
|
profiles_sample_rate: 1.0
|
||||||
|
ignore_exceptions:
|
||||||
|
- 'Symfony\Component\ErrorHandler\Error\FatalError'
|
||||||
|
- 'Symfony\Component\Debug\Exception\FatalErrorException'
|
||||||
|
|
||||||
# If you are using Monolog, you also need this additional configuration to log the errors correctly:
|
# If you are using Monolog, you also need this additional configuration to log the errors correctly:
|
||||||
# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration
|
# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration
|
||||||
|
|||||||
Reference in New Issue
Block a user