mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 14:16:13 +02:00
Print stack trace on console when an exception is raised.
This commit is contained in:
parent
8de6311c1f
commit
5ad7e06d79
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue