mirror of
https://github.com/penpot/penpot.git
synced 2026-08-26 22:58:43 +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
|
(mf/defc on-main-error
|
||||||
[{:keys [error] :as props}]
|
[{:keys [error] :as props}]
|
||||||
(mf/with-effect
|
(mf/with-effect
|
||||||
|
(js/console.log error)
|
||||||
(st/emit! (rt/assign-exception error)))
|
(st/emit! (rt/assign-exception error)))
|
||||||
[:span "Internal application error"])
|
[:span "Internal application error"])
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user