roidrage / lograge

An attempt to tame Rails' default policy to log everything.
http://www.paperplanes.de/2012/3/14/on-notifications-logsubscribers-and-bringing-sanity-to-rails-logging.html
MIT License
3.47k stars 300 forks source link

exception cannot show on rescue_from custom handler exception #357

Open aelgees opened 2 years ago

aelgees commented 2 years ago

I have custom handle error

Screen Shot 2022-08-05 at 20 50 13 Screen Shot 2022-08-05 at 20 50 44
exception: event.payload[:exception]&.first,
exception_object: event.payload[:exception_object],
exception_trace: event.payload[:stacktrace]

not show on stdout logger , if apps is error

iloveitaly commented 2 years ago

@aelgees feel free to submit a PR for this! Unsure of exactly what is causing this error.