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

Grouping shutdown errors #14

Closed jstayton closed 11 years ago

jstayton commented 11 years ago

Hey Drew,

I've noticed that Airbrake tends to group together all shutdown errors from PHP Airbrake, regardless of whether the specifics of the error are similar. Do you have any thoughts on how to prevent that from happening?

My hunch is the beginning of the title being the same: "It looks like we may have shutdown unexpectedly. Here is the error we saw while closing up:". That's enough for Airbrake to group them all together. Would you be cool with me removing that text?

Thanks!

dbtlr commented 11 years ago

I modified the message to be less verbose, but to hopefully still let you know a shutdown occurred. Let me know if this solves the issue. If not, I'll dump the [SHUTDOWN] completely. No point in keeping it, if it makes messages harder to find.

Thanks!

jstayton commented 11 years ago

Great. I'll try it out and let you know how it works. Thanks for the quick response!