What would be a good approach to integrate a service like Bugsnag? Is there some kind of global Error/Exception Handler where everything is routed through and I could hook in?

Edit: Find the finished Plugin here: craft-bugsnag

1 Answer 1


Yii does have onError and onException events that get raised when PHP errors/warnings/notices and exceptions happen.

You'd need to write a plugin that listened to those and did the Bugsnag magic, then.

  • nice, didn't know about those! Thanks. Jul 2, 2015 at 6:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.