Files
symfony-flex-recipes-contrib/sentry.sentry-symfony.3.0.json
T
github-action[bot]andgithub-action[bot] beb79d1ad1 Update Flex endpoint
2022-07-08 11:46:49 +00:00

51 lines
2.1 KiB
JSON

{
"manifests": {
"sentry/sentry-symfony": {
"manifest": {
"bundles": {
"Sentry\\SentryBundle\\SentryBundle": [
"prod"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"SENTRY_DSN": ""
}
},
"files": {
"config/packages/prod/sentry.yaml": {
"contents": [
"sentry:",
" dsn: '%env(SENTRY_DSN)%'",
" options:",
" excluded_exceptions:",
" - Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException",
" - Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException",
"",
" # If you are using Monolog, you also need these additional configuration and services to log the errors correctly:",
" # https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration",
" # register_error_listener: false",
"",
" # monolog:",
" # handlers:",
" # sentry:",
" # type: service",
" # id: Sentry\\Monolog\\Handler",
"",
" # services:",
" # Sentry\\Monolog\\Handler:",
" # arguments:",
" # $hub: '@Sentry\\State\\HubInterface'",
" # $level: !php/const Monolog\\Logger::ERROR",
""
],
"executable": false
}
},
"ref": "cdf32ecd5481af45f42502e3dee0db160226e8d4"
}
}
}