A platform for community discussion. Free, open, simple.
DEV: Reduce logging level when logging favicon download failures.
Guo Xiang Tan6a060913d80c
diff --git a/app/controllers/static_controller.rb b/app/controllers/static_controller.rbindex c0bdc032f40..16f692569a0 100644--- a/app/controllers/static_controller.rb+++ b/app/controllers/static_controller.rb@@ -149,7 +149,7 @@ class StaticController < ApplicationControllerfile&.read || ""rescue => eAdminDashboardData.add_problem_message('dashboard.bad_favicon_url', 1800)- Rails.logger.warn("Failed to fetch favicon #{favicon.url}: #{e}\n#{e.backtrace}")+ Rails.logger.debug("Failed to fetch favicon #{favicon.url}: #{e}\n#{e.backtrace}")""ensurefile&.unlink