exception_notification
exception_notification copied to clipboard
Can't find stack trace in the email notification
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?
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