0
Fork 0
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:
Andrey Antukh 2022-08-23 08:01:31 +02:00 committed by Andrés Moya
parent 1649ca4ff7
commit 7af914eef0

View file

@ -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"])