mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 16:21:57 -05:00
🐛 Fix incorrect value passed on unhandled error
This commit is contained in:
parent
add9c98ba0
commit
3212ed9bd1
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue