Modified version of exception-notification gem