ftrrtf / FtrrtfRollbarBundle

[Deprecated] Symfony2 Bundle for rollbar.com
MIT License
13 stars 16 forks source link

Ability to exclude specific exceptions #32

Open fliespl opened 7 years ago

fliespl commented 7 years ago

It would be great to provide such functionality. I.e. in my case rollbar notifies about expired/broken api tokens (error 401 - \Component\Security\Core\Exception\InsufficientAuthenticationException).

I think this might be read from config, i.e. like this:


exclude:
   'Symfony\Component\Security\Core\Exception\InsufficientAuthenticationException': true
   'Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException': true
   'AppBundle\Exception\MustChangePasswordException': true