Skip to content

Commit

Permalink
Update app/services/hyrax/analytics/google.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Colvard <chris.colvard@gmail.com>
  • Loading branch information
orangewolf and cjcolvar authored Jan 3, 2022
1 parent 4f08a74 commit 9f29f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/hyrax/analytics/google.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.load_from_yaml
end
config = yaml.fetch('analytics')&.fetch('google', nil)
unless config
Rails.logger.info("Deprecated analytics format found. Please update your yaml file.")
Deprecation.warn("Deprecated analytics configuration format found. Please update config/analytics.yml.")
config = yaml.fetch('analytics')
# this has to exist here with a placeholder so it can be set in the Hyrax initializer
# it is only for backward compatibility
Expand Down

0 comments on commit 9f29f95

Please sign in to comment.