diff --git a/config/packages/sentry.yaml b/config/packages/sentry.yaml index e107285..1e17ba1 100644 --- a/config/packages/sentry.yaml +++ b/config/packages/sentry.yaml @@ -1,7 +1,16 @@ when@prod: sentry: - register_error_listener: false # Disables the ErrorListener to avoid duplicated log in sentry - register_error_handler: false # Disables the ErrorListener, ExceptionListener and FatalErrorListener integrations of the base PHP SDK + register_error_listener: true # Disables the ErrorListener to avoid duplicated log in sentry + register_error_handler: true # Disables the ErrorListener, ExceptionListener and FatalErrorListener integrations of the base PHP SDK + + tracing: + enabled: true + dbal: # DB queries + enabled: true + cache: # cache pools + enabled: true + twig: # templating engine + enabled: true services: # (Optionally) Configure the breadcrumb handler as a service (needed for the breadcrumb Monolog handler) diff --git a/templates/bundles/TwigBundle/Exception/error.html.twig b/templates/bundles/TwigBundle/Exception/error.html.twig index f460a97..6da6f0c 100644 --- a/templates/bundles/TwigBundle/Exception/error.html.twig +++ b/templates/bundles/TwigBundle/Exception/error.html.twig @@ -1,11 +1,10 @@ {% extends 'bare.html.twig' %} {% block body %} -
There are many things I'm capable of, but this ain't one of 'em!