getsentry/raven-php — pull request #22 by msabramo (2012-05-14 21:25:40+00:00)
Title: Add registerExceptionHandler() and registerErrorHandler() methods to Raven_ErrorHandler.

By default, these call existing handlers in the new handler so we're extending rather than overwriting previous handling behavior. This makes it easier to log to sentry AND display an error message to the user (with or without a link to Sentry).

If the client uses the old way of registering handlers manually, then the existing handlers will not be called, so we are not changing the semantics for existing code.