mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 10:38:13 -05:00
📎 Properly print on console UI related errors
This commit is contained in:
parent
1649ca4ff7
commit
7af914eef0
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue