typo s/faivcon/favicon (#7697)

This commit is contained in:
Joffrey JAFFEUX 2019-06-05 09:46:07 +02:00 committed by GitHub
parent b9df7a2257
commit ce79a71c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,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 faivcon #{favicon.url}: #{e}\n#{e.backtrace}") Rails.logger.warn("Failed to fetch favicon #{favicon.url}: #{e}\n#{e.backtrace}")
"" ""
ensure ensure
file&.unlink file&.unlink