Added raven error reporting