Skip to content

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.rb
index c0bdc032f40..16f692569a0 100644
--- a/app/controllers/static_controller.rb
+++ b/app/controllers/static_controller.rb
@@ -149,7 +149,7 @@ class StaticController < ApplicationController
file&.read || ""
rescue => e
AdminDashboardData.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}")
""
ensure
file&.unlink