I have this in my application.rb:
private
def log_error(exception)
super
UserMailer.error_message(exception,
clean_backtrace(exception),
session.instance_variable_get("@data"),
params,
request.env
).deliver
end
I''d like the errors emailed to me.
It doesn''t seem to be calling that "log_error" at all.
Is this done some other way in Rails3?
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.