DEV: Reduce logging level when logging favicon download failures.

This was accidentally changed in 1c6a2262b3.
This commit is contained in:
Guo Xiang Tan 2020-07-29 09:42:55 +08:00
parent 29276a37ed
commit 6a060913d8
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20

View File

@ -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