nodrew/php-airbrake — pull request #15 by weotch (2013-02-08 02:00:22+00:00)
Title: Escaping special characters in the error message

I was getting an error that looked like this with an exception contains SQL output in it:

> SimpleXMLElement::addChild() [simplexmlelement.addchild]: unterminated entity reference & visible = 1 && tagged_contentforeign_type NOT IN ('daily_term', 'inspiration')

I figure this patch will help others who may have things in their errors that XML doesn't like.