mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
✨ Print js trace on exceptional state error is raised
This commit is contained in:
parent
aad70d9df8
commit
0817c4e140
1 changed files with 3 additions and 0 deletions
|
@ -155,6 +155,9 @@
|
|||
|
||||
(defmethod ptk/handle-error ::exceptional-state
|
||||
[error]
|
||||
(when-let [cause (::instance error)]
|
||||
(js/console.log (.-stack cause)))
|
||||
|
||||
(ts/schedule
|
||||
#(st/emit! (rt/assign-exception error))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue