Hi, This is probably a stupid question, but I'm wondering if anyone knows why https://github.com/rails/rails/blob/master/actives... 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
on 2013-01-03 09:14
on 2013-01-04 04:43
On Wed, Jan 2, 2013 at 12:34 PM, bjg <firstname.lastname@example.org> wrote: > This is probably a stupid question, but I'm wondering if anyone knows why > > https://github.com/rails/rails/blob/master/actives... > > 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 Those are the only things it needs to make a notification, what type of exception it was, and the associated error message.
on 2013-01-04 14:36