🐛 Route Google fonts fetch warning through project logger (#9422)

This commit is contained in:
Dexterity 2026-05-08 11:41:09 -04:00 committed by GitHub
parent f5b38a5025
commit a53237ce9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,7 +151,7 @@
(->> (http/send! {:method :get :uri url :mode :cors :response-type :text})
(rx/map :body)
(rx/catch (fn [err]
(.warn js/console "Cannot find the font" (obj/get err "message"))
(log/wrn :hint "cannot find the font" :cause err)
(rx/empty)))))
(defmethod load-font :google