We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When upgrading from 4.8.1 for sentry-{ruby, rails, sidekiq} to 4.8.2 all ActiveJob calls return nil.
I am not 100% sure why we have return values from these jobs and they are only used in tests.
class SentryJob < ActiveJob::Base def perform "hello" end end
require "test_helper" class SentryJobTest < ActiveSupport::TestCase test "#perform" do value = SentryJob.perform_now assert_equal("hello", value) end end
Should return the value from perform
perform
Returns nil
nil
2.6.9
4.8.2
SENTRY_FILTER = %i[password more_params] Sentry.init do |config| config.environment = "appname" config.breadcrumbs_logger = [:active_support_logger, :http_logger] config.traces_sample_rate = 0.1 config.propagate_traces = false filter = if Rails::VERSION::MAJOR >= 6 # Rails 6 ActiveSupport::ParameterFilter.new( SENTRY_FILTER ) else # Rails 5 ActionDispatch::Http::ParameterFilter.new( SENTRY_FILTER ) end config.before_send = lambda do |event, hint| filter.filter(event.to_hash) end end
The text was updated successfully, but these errors were encountered:
st0012
Successfully merging a pull request may close this issue.
Issue Description
When upgrading from 4.8.1 for sentry-{ruby, rails, sidekiq} to 4.8.2 all ActiveJob calls return nil.
I am not 100% sure why we have return values from these jobs and they are only used in tests.
Reproduction Steps
Expected Behavior
Should return the value from
perform
Actual Behavior
Returns
nil
Ruby Version
2.6.9
SDK Version
4.8.2
Integration and Its Version
Sentry Config
The text was updated successfully, but these errors were encountered: