I have Symfony 4 based project with package
“sentry/sentry-symfony”: “^3.5”,
Sometimes there can be uncaught error which can happen very often. We missed it during testing and it can be seen only on production. There are lots of background jobs (via rabbitmq) and one hour of work can trigger thousands of errors. Can we configure sdk in some way that frequent errors are NOT sent to sentry at all? For example specify any special handler which counts occured errors using Redis counters and returns true/false depending on the result of our calculations.
Currently we have this in config
excluded_exceptions:
- Symfony\Component\Security\Core\Exception\UsernameNotFoundException
- Symfony\Component\Security\Core\Exception\AccessDeniedException
- Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
- Symfony\Component\Security\Core\Exception\AuthenticationException
- Symfony\Component\HttpKernel\Exception\NotFoundHttpException
- Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
- Bunny\Exception\ClientException
- GuzzleHttp\Exception\TransferException
capture_silenced_errors: false