Log a message when favicon download fails.

This commit is contained in:
Brent Simmons 2017-11-25 16:15:36 -08:00
parent d373662484
commit cf57e1be32
1 changed files with 4 additions and 0 deletions

View File

@ -138,6 +138,10 @@ private extension SingleFaviconDownloader {
return
}
if let error = error {
appDelegate.logMessage("Error downloading favicon at \(url): \(error)", type: .warning)
}
callback(nil)
}
}