mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-22 14:58:12 +00:00
better printing of errors from re-frame
This commit is contained in:
parent
24984ccec2
commit
6cb43207ec
@ -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"]
|
||||
|
@ -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)))))))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user