exception_notification icon indicating copy to clipboard operation
exception_notification copied to clipboard

Can't find stack trace in the email notification

Open ndvbd opened this issue 1 year ago • 1 comments

I got:

A NoMethodError occurred in application#raise_not_found!:

undefined method `[]' for nil:NilClass

In the email notification, but without stack trace. Stack track I only see in the log (file). How can I solve it? I also searched the gem file for the pattern:


Session:

That I get in email, but can't find it anywhere. Where is it hiding?

ndvbd avatar Mar 20 '23 18:03 ndvbd

Im not sure exactly what the issue is here. But you can get your stacktraces back if you add the following to your app:

# config/initializers/backtrace_silencers.rb

Rails.backtrace_cleaner.remove_silencers! ### Remove silencers because they cause exception backtraces to be omitted

westonganger avatar Jan 18 '24 02:01 westonganger