From b61c6df2bb5864699a9dc79d1bd54d5601785e5f Mon Sep 17 00:00:00 2001 From: Kevin Dew Date: Tue, 19 Nov 2024 21:50:42 +0000 Subject: [PATCH] Require "sentry-sidekiq" gem Previously this gem was installed to resolve the error of: ``` Warning: GovukError is not configured to track Sidekiq errors, install the sentry-sidekiq gem to track them. ``` in [1]. However this wasn't sufficient because Search API doesn't automatically require gems, so while the gem was available it wasn't actually used. By requiring it we can resolve this error. [1]: https://github.com/alphagov/search-api/pull/2494 --- lib/rummager.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rummager.rb b/lib/rummager.rb index 9f347fef3..799c408c3 100644 --- a/lib/rummager.rb +++ b/lib/rummager.rb @@ -25,6 +25,7 @@ require "plek" require "redis-client" require "securerandom" +require "sentry-sidekiq" require "sidekiq" require "sidekiq-limit_fetch" require "statsd"