0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-16 00:41:25 -05:00

Print stack trace when unexpected exception is raised in the stream.

This commit is contained in:
Andrey Antukh 2016-03-31 21:46:59 +03:00
parent f837835be4
commit b96a554c44

View file

@ -90,6 +90,7 @@
"A default error handler."
[e]
(println "Unexpected error: " e)
(js/console.error e.stack)
(rx/throw e))
(defn init