From b88b0b9b04dae6e8840992eb19e687cd7216af38 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Tue, 10 Dec 2024 20:30:20 -0600 Subject: [PATCH] Downgrade theme missing message to a debug This occurs any time the theme is "default" and the page is drawn, so that's a lot of warn messages. --- app/helpers/spotlight/main_app_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/spotlight/main_app_helpers.rb b/app/helpers/spotlight/main_app_helpers.rb index 3443de02e..a59baa6c9 100644 --- a/app/helpers/spotlight/main_app_helpers.rb +++ b/app/helpers/spotlight/main_app_helpers.rb @@ -46,7 +46,7 @@ def exhibit_stylesheet_link_tag(tag) if current_exhibit_theme && current_exhibit&.theme != 'default' stylesheet_link_tag "#{tag}_#{current_exhibit_theme}" else - Rails.logger.warn "Exhibit theme '#{current_exhibit_theme}' not in the list of available themes: #{current_exhibit&.themes}" + Rails.logger.debug { "Exhibit theme '#{current_exhibit_theme}' not in the list of available themes: #{current_exhibit&.themes}" } stylesheet_link_tag(tag) end end