Skip to content

Silence _perform method redefinition warning #2682

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

viralpraxis
Copy link
Contributor

@viralpraxis viralpraxis commented Aug 23, 2025

I'd like to get rid of this noisy warning:

gems/sentry-rails-5.26.0/lib/sentry/rails/background_worker.rb:5: warning: method redefined; discarding old _perform
gems/sentry-ruby-5.26.0/lib/sentry/background_worker.rb:74: warning: previous definition of _perform was here

#skip-changelog

@viralpraxis viralpraxis force-pushed the silence-perform-method-redefinition-warning branch from a025468 to ba80754 Compare August 23, 2025 21:09
I'd like to get rid of this noisy warning:

```shell
sentry-rails-5.26.0/lib/sentry/rails/background_worker.rb:5: warning: method redefined; discarding old _perform
sentry-ruby-5.26.0/lib/sentry/background_worker.rb:74: warning: previous definition of _perform was here
```

#skip-changelog

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Date:      Sun Aug 24 01:04:29 2025 +0400
#
# On branch silence-perform-method-redefinition-warning
# Changes to be committed:
#	modified:   lib/sentry/rails/background_worker.rb
#
@viralpraxis viralpraxis force-pushed the silence-perform-method-redefinition-warning branch from ba80754 to fdd2a62 Compare August 23, 2025 21:11
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

Successfully merging this pull request may close these issues.

1 participant