From 6a060913d80cbc51f99c5a425e9f2113fc668276 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 29 Jul 2020 09:42:55 +0800 Subject: [PATCH] DEV: Reduce logging level when logging favicon download failures. This was accidentally changed in 1c6a2262b3b57. --- app/controllers/static_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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