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 => e*
*          payload[:exception] = [e.class.name, e.message]*
*          raise e*
*
*
*
*

Thanks




-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
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.


Reply via email to