squareboat / sneaker

An easy way to send emails whenever an exception occurs on server.
MIT License
222 stars 46 forks source link

Is it possible to specify NOT to capture only Illuminate\Auth\AuthenticationException #24

Closed murfett-au closed 5 years ago

murfett-au commented 6 years ago

I want to include all possible exceptions, apart from the Illuminate\Auth\AuthenticationException, as this occurs frequently when people hit a valid URL when they are not logged in and are redirected back to the login page.

I see the capture option, but is there a way to include all exceptions apart from those in a list I can define?

akaamitgupta commented 6 years ago

@murfett-au You can just remove the condition $this->shouldReport($exception) and set capture in cofig file as '*'.