-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
undefined method `exclude_loggers' for nil:NilClass during Rails boot on production #1858
Comments
Downgrading to sentry-ruby 5.3.1 fixes the issue. |
This is weird because if it reaches there, the SDK should already be initialized so the configuration should present 🤔
@sl0thentr0py any thoughts? |
hmm I guess what is happening is that since this patches |
and we did add the |
But at the beginning of |
yeah you're right. No clue, but I also see some |
I got the same error with newrelic_rpm (8.9.0) + sentry-ruby (5.4.1) Sentry calls At the same time NewRelic's AgentThread finalizes its job by sending events and breadcrumbs and also calling But Not sure, but maybe it makes sense to get the configuration of the local thread instead of the main thread (get_main_hub) inside
It solved the issue for me. |
When will this be released as gem? |
oh, I can do a patch release tomorrow |
Nice |
@tvdeyen 5.4.2 released |
@sl0thentr0py thank you 🙏🏻 |
Issue Description
Booting a Rails app during deployment fails with
in
Reproduction Steps
rake db:migrate
Expected Behavior
It should not fail
Actual Behavior
It should work
Ruby Version
2.7.6
SDK Version
5.4.1
Integration and Its Version
Rails 6.0.5.1
Sentry Config
The text was updated successfully, but these errors were encountered: