Skip to content

Commit

Permalink
Merge pull request #243 from alphagov/fix-gem-name
Browse files Browse the repository at this point in the history
Fix gem name in warning message
  • Loading branch information
ChrisBAshton authored May 20, 2022
2 parents d61d40c + bf8434f commit b3f4fa3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 4.6.1

- Fixes warning message to refer to correct Sidekiq gem dependency name ([#243](https://github.com/alphagov/govuk_app_config/pull/243)).

# 4.6.0

- Add a warning for apps using GovukError with Sidekiq that don't have sentry-sidekiq installed ([#241](https://github.com/alphagov/govuk_app_config/pull/241)).
Expand Down
2 changes: 1 addition & 1 deletion lib/govuk_app_config/govuk_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def self.configure
raise GovukError::AlreadyInitialised if is_configured?

if defined?(Sidekiq) && !defined?(Sentry::Sidekiq)
warn "Warning: GovukError is not configured to track Sidekiq errors, install the sidekiq-sentry gem to track them."
warn "Warning: GovukError is not configured to track Sidekiq errors, install the sentry-sidekiq gem to track them."
end

Sentry.init do |sentry_config|
Expand Down
2 changes: 1 addition & 1 deletion lib/govuk_app_config/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module GovukAppConfig
VERSION = "4.6.0".freeze
VERSION = "4.6.1".freeze
end

0 comments on commit b3f4fa3

Please sign in to comment.