Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ndvbd opened this issue Mar 20, 2023 · 1 comment
Open

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

ndvbd opened this issue Mar 20, 2023 · 1 comment

Comments

@ndvbd
Copy link

ndvbd commented Mar 20, 2023

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants