mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:18:23 +00:00
DEV: Reduce logging level when logging favicon download failures.
This was accidentally changed in 1c6a2262b3b57.
This commit is contained in:
parent
29276a37ed
commit
6a060913d8
@ -149,7 +149,7 @@ class StaticController < ApplicationController
|
|||||||
file&.read || ""
|
file&.read || ""
|
||||||
rescue => e
|
rescue => e
|
||||||
AdminDashboardData.add_problem_message('dashboard.bad_favicon_url', 1800)
|
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
|
ensure
|
||||||
file&.unlink
|
file&.unlink
|
||||||
|
Loading…
x
Reference in New Issue
Block a user