mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
Print stack trace on console when an exception is raised.
This commit is contained in:
parent
8de6311c1f
commit
5ad7e06d79
@ -52,6 +52,7 @@
|
||||
"A default error handler."
|
||||
[{:keys [status] :as error}]
|
||||
(js/console.error "on-error:" (pr-str error))
|
||||
(js/console.error (.-stack error))
|
||||
(reset! st/loader false)
|
||||
(cond
|
||||
;; Unauthorized or Auth timeout
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user