lukeyouell / craft-sentry

Error tracking that helps developers monitor and fix crashes in real time. Iterate continuously. Boost efficiency. Improve user experience.
https://sentry.io
MIT License
17 stars 9 forks source link

Empty `Excluded Status Codes` causes not reporting Exception without statusCode. #21

Closed internetztube closed 3 years ago

internetztube commented 5 years ago

Hello. Thanks for this plugin. Helps a lot.

I figured out, that when $this->settings->excludedCodes is empty ([0 => ""]) Exceptions without a statusCode (NULL) property is thrown, it does not get reported. An easy fix is to just add an excluded code. But this cost me nearly 1h to figure this out.

Thanks!