mirror of
https://github.com/penpot/penpot.git
synced 2026-05-09 01:58:46 +00:00
🐛 Route Google fonts fetch warning through project logger (#9422)
This commit is contained in:
parent
f5b38a5025
commit
a53237ce9f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user