smartinez87 / exception_notification

Exception Notifier Plugin for Rails
http://smartinez87.github.io/exception_notification
MIT License
2.18k stars 415 forks source link

Can't find stack trace in the email notification #532

Open ndvbd opened 1 year ago

ndvbd commented 1 year ago

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?

westonganger commented 7 months ago

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