Closed sts-ryan-holton closed 11 months ago
We offer various filtering options, see https://docs.sentry.io/platforms/php/guides/laravel/configuration/filtering.
before_send
might be your best bet, as you want to conditional exclude certain errors.
Problem Statement
Hi, I'm using Laravel 10's queue. I'm not using Redis, instead the
database
connection. Typically, with larger systems like mine I come across a lot of queue related exceptions that aren't really in my control or I'd just like to filter them out. For example, the following kind of exception listed here.How could I exclude such exception to prevent exhausting my Sentry controller, or, moreover, exclude the exceptions from queues entirely to just report exceptions in my controllers/routes etc
Solution Brainstorm
How would I achieve such result