mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 12:44:20 +01:00
Update recipe for sentry
This commit is contained in:
@@ -10,7 +10,7 @@ when@prod:
|
|||||||
- 'Symfony\Component\Debug\Exception\FatalErrorException'
|
- '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/integrations/monolog/
|
||||||
# register_error_listener: false
|
# register_error_listener: false
|
||||||
# register_error_handler: false
|
# register_error_handler: false
|
||||||
#
|
#
|
||||||
@@ -19,18 +19,21 @@ when@prod:
|
|||||||
# # Use this only if you don't want to use structured logging and instead receive
|
# # Use this only if you don't want to use structured logging and instead receive
|
||||||
# # certain log levels as errors.
|
# # certain log levels as errors.
|
||||||
# sentry:
|
# sentry:
|
||||||
# type: sentry
|
# type: service
|
||||||
# level: !php/const Monolog\Logger::ERROR
|
# id: Sentry\Monolog\Handler
|
||||||
# hub_id: Sentry\State\HubInterface
|
|
||||||
# fill_extra_context: true # Enables sending monolog context to Sentry
|
|
||||||
# process_psr_3_messages: false # Disables the resolution of PSR-3 placeholders
|
|
||||||
#
|
#
|
||||||
# # Use this for structured log integration
|
# # Use this for structured log integration
|
||||||
# sentry_logs:
|
# sentry_logs:
|
||||||
# type: service
|
# type: service
|
||||||
# id: Sentry\SentryBundle\Monolog\LogsHandler
|
# id: Sentry\SentryBundle\Monolog\LogsHandler
|
||||||
#
|
#
|
||||||
|
# # Enable one of the two services below, depending on your choice above
|
||||||
# services:
|
# services:
|
||||||
|
# Sentry\Monolog\Handler:
|
||||||
|
# arguments:
|
||||||
|
# $hub: '@Sentry\State\HubInterface'
|
||||||
|
# $level: !php/const Monolog\Logger::ERROR
|
||||||
|
# $fillExtraContext: true # Enables sending monolog context to Sentry
|
||||||
# Sentry\SentryBundle\Monolog\LogsHandler:
|
# Sentry\SentryBundle\Monolog\LogsHandler:
|
||||||
# arguments:
|
# arguments:
|
||||||
# - !php/const Monolog\Logger::INFO
|
# - !php/const Monolog\Logger::INFO
|
||||||
|
|||||||
@@ -99,12 +99,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"sentry/sentry-symfony": {
|
"sentry/sentry-symfony": {
|
||||||
"version": "5.6",
|
"version": "5.8",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes-contrib",
|
"repo": "github.com/symfony/recipes-contrib",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "5.0",
|
"version": "5.0",
|
||||||
"ref": "b6cb4b34429dadecd7187852123be19d628fa37a"
|
"ref": "12f504985eb24e3b20a9e41e0ec7e398798d18f0"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/sentry.yaml"
|
"config/packages/sentry.yaml"
|
||||||
|
|||||||
Reference in New Issue
Block a user