NameError when running exception_notification plugin?


#1

Hi all,

I installed the exception_notification plugin via ‘script/plugin
install’, and when configure it and try to run it, I get:

NameError

uninitialized constant ExceptionNotifiable

This error occured while loading the following files:
application.rb
exception_notifiable.rb

In my application.rb, I added this:

include ExceptionNotifiable

And in my development environment file, I added:

ExceptionNotifier.exception_recipients = %w(removed_email_address@domain.invalid)

What am I missing?

Thanks!

Sean


#2

I had to restart the app after installing the plugin, huh?

Yeah, ok. Sorry, fixed. :slight_smile:

Sean