Files
symfony-flex-recipes-contrib/sentry.sentry-symfony.4.0.json
T
github-action[bot]andgithub-action[bot] 13bb1d4561 Update Flex endpoint
2022-10-20 14:44:56 +00:00

52 lines
2.0 KiB
JSON

{
"manifests": {
"sentry/sentry-symfony": {
"manifest": {
"bundles": {
"Sentry\\SentryBundle\\SentryBundle": [
"prod"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"SENTRY_DSN": ""
},
"conflict": {
"symfony/framework-bundle": "<5.4"
}
},
"files": {
"config/packages/sentry.yaml": {
"contents": [
"when@prod:",
" sentry:",
" dsn: '%env(SENTRY_DSN)%'",
"",
"# 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",
"# $bubble: false",
""
],
"executable": false
}
},
"ref": "9ac202e84b6fb3c276cb3d7846006e0df65272d0"
}
}
}