File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,18 @@ Leaving this value empty (or undeclared) in other environments will effectively
88
88
``` yaml
89
89
sentry :
90
90
dsn :
" https://public:[email protected] /1"
91
+ options :
92
+ environment : ' %kernel.environment%'
93
+ release : ' %env(VERSION)%' # your app version
94
+ excluded_exceptions : # exclude validation errors
95
+ - App\Exception\UserNotFoundException
96
+ - Symfony\Component\Security\Core\Exception\AccessDeniedException
91
97
` ` `
92
98
99
+ The parameter ` options` allows to fine-tune exceptions. To discover more options, please refer to
100
+ [the Unified APIs](https://docs.sentry.io/development/sdk-dev/unified-api/#options) options and
101
+ the [PHP specific](https://docs.sentry.io/platforms/php/#php-specific-options) ones.
102
+
93
103
# ### Optional: use monolog handler provided by `sentry/sentry`
94
104
*Note: this step is optional*
95
105
You can’t perform that action at this time.
0 commit comments