mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 05:05:15 +08:00
DEV: Reduce logging level when logging favicon download failures.
This was accidentally changed in 1c6a2262b3
.
This commit is contained in:
parent
29276a37ed
commit
6a060913d8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user