Filtering sentry events

Hi everybody!

My doubt is about the use of sentry from Php, I’m new using it from php.

The question is, how can I filter the events in Php, I followed the basic tutorial and I have something like this:

$client = new Raven_Client('DSN');
$error_handler = new Raven_ErrorHandler($client);

But I don’t wanna the the info/warning issues.

What can I do to discar them & track only the error/fatal issues?

Thanks in advance!

Check out this section on filtering data from the Sentry PHP docs.

Hi, I have the same need. I followed the link. What does $data look like for Info/warning type php errors? Anyone have code to return false for those 2 types? Many thanks in advance