smartinez87/exception_notification — Issue #41: Mailer tries to send even if middleware is disabled
Author: jalada
Created: 2011-12-02 10:10:42+00:00
State: open

Try running

ExceptionNotifier::Notifier.background_exception_notification e

when you haven't got the middleware enabled.

There is a check in the code to see if the middleware is enabled, but ActionMailer will just try to deliver anyway.

I tried to fix by raising + rescuing a custom error but couldn't fix it :(