switched exception_notification initializer to only run in production