Skip to content

Commit

Permalink
Merge pull request #2236 from newrelic/kim_jones_reviews_asteroid_city
Browse files Browse the repository at this point in the history
  • Loading branch information
fallwith authored Sep 26, 2023
2 parents b508b37 + 7a4e7ce commit 1a30b8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_captures_sidekiq_internal_errors
exception = StandardError.new('bonk')
noticed = []
NewRelic::Agent.stub :notice_error, proc { |e| noticed.push(e) } do
Sidekiq::CLI.instance.handle_exception(exception)
cli.handle_exception(exception)
end

assert_equal 1, noticed.size
Expand Down

0 comments on commit 1a30b8c

Please sign in to comment.