mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 19:58:09 +00:00
📎 Properly print on console UI related errors
This commit is contained in:
parent
1649ca4ff7
commit
7af914eef0
@ -29,6 +29,7 @@
|
||||
(mf/defc on-main-error
|
||||
[{:keys [error] :as props}]
|
||||
(mf/with-effect
|
||||
(js/console.log error)
|
||||
(st/emit! (rt/assign-exception error)))
|
||||
[:span "Internal application error"])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user