mirror of
https://github.com/penpot/penpot.git
synced 2026-07-23 14:38:12 +00:00
🐛 Fix incorrect value passed on unhandled error
This commit is contained in:
parent
add9c98ba0
commit
3212ed9bd1
@ -90,8 +90,7 @@
|
||||
|
||||
(defmethod ptk/handle-error :default
|
||||
[error]
|
||||
(when-let [cause (::instance error)]
|
||||
(ts/schedule #(st/emit! (rt/assign-exception cause))))
|
||||
(st/async-emit! (rt/assign-exception error))
|
||||
(print-group! "Unhandled Error"
|
||||
(fn []
|
||||
(print-trace! error)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user