Displaying 4 results from an estimated 4 matches for "exception_recipients".
2007 Jan 06
6
Exception notifier not working
I installed the exception notifier via:
/script/plugin install -x exception_notification
It resides in the vendor/exception_notification directory (as
advertised). I''ve configured environment.rb with the following:
ExceptionNotifier.exception_recipients = %w(blakemiller-uBzjpPW2m0pBDgjK7y7TUQ@public.gmane.org)
ExceptionNotifier.sender_address = %("Application Error"
<blakemiller-uBzjpPW2m0pBDgjK7y7TUQ@public.gmane.org>)
Note: the documentation didn''t say *where* in environment.rb to put it,
so I put it outside of any func...
2006 May 05
1
NameError when running exception_notification plugin?
...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(seanhussey@gmail.com)
What am I missing?
Thanks!
Sean
2007 Jul 26
2
Ruby 1.8.6 + Rails 1.2.3 + ErrorNotification == NameError !?
Hallo Everybody,
I updated recently to the latest versions of Ruby and Rails. Now it
seems to me that the plugin ErrorNotification doesn''t run anymore. I
even tried to create a new project, installed the plugin and added the
following line to my development.rb:
[code]
ExceptionNotifier.exception_recipients = "adress-QPFuF50DZNq+XT7JhA+gdA@public.gmane.org"
[/code]
When I try to start my server it hangs with an error. I tried it on
Mac and Windows, in development- and production-mode, with webrick and
mongrel and I''m always getting the following error:
[code]
/usr/local/lib/ruby/g...
2007 Nov 14
2
Exception Notification plugin options hash handling????? backwards merge?
...this didn''t work and looking at the method in question:
def exception_notification(exception, controller, request, data={})
subject "#{email_prefix}#{controller.controller_name}##{controller.action_name}
(#{exception.class}) #{exception.message.inspect}"
recipients exception_recipients
from sender_address
body data.merge({ :controller => controller, :request => request,
:exception => exception, :host => request.env["HTTP_HOST"],
:backtrace => sanitize_backtrace(exception.backtrace),...