Skip to content

Commit a9df648

Browse files
authored
Documented most valuable sentry options
1 parent bbdb50d commit a9df648

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ Leaving this value empty (or undeclared) in other environments will effectively
8888
```yaml
8989
sentry:
9090
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
9197
```
9298
9399
#### Optional: use monolog handler provided by `sentry/sentry`

0 commit comments

Comments
 (0)