dbtlr / php-airbrake

A PHP 5.3 library for sending errors to the Airbrake.io service.
http://airbrake.io
MIT License
121 stars 44 forks source link

Move warnings from fatalErrors array to warningErrors #11

Closed lgladdy closed 11 years ago

lgladdy commented 12 years ago

I'm not sure if there is a justification i'm missing here, but a PHP warning was being classed as a fatal error and throwing an exception, rather than just logging the warning. This changes that behaviour so warnings are treated as warnings.

Either way, this was throwing an exception which was breaking our code.

smith commented 11 years ago

+1