Ruby on Rails
Wednesday, January 2, 2013
Hi,
This is probably a stupid question, but I'm wondering if anyone knows why
https://github.com/rails/rails/blob/master/activesupport/lib/active_support/notifications/instrumenter.rb
doesn't just save the actual exception in the payload when an exception occurs. Instead it does this:
rescue Exception => epayload[:exception] = [e.class.name, e.message]raise e
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/gQJf7Bm672UJ.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment