better printing of errors from re-frame

This commit is contained in:
Stuart Mitchell 2015-03-11 16:46:16 +13:00
parent 24984ccec2
commit 6cb43207ec
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2816"]
[reagent "0.5.0-alpha3"]
[re-frame "0.2.0"]
[re-frame "0.3.0"]
[figwheel "0.2.3-SNAPSHOT"]]
:plugins [[lein-cljsbuild "1.0.4"]

View File

@ -71,7 +71,7 @@
(do
;; use of a core.async loop seems to completely ruin exception stacks.
;; So we're going print the exception to the console here, before it gets trashed.
(.error js/console e)
(.error js/console e.stack)
(throw e)))))))