Created
February 12, 2015 16:01
-
-
Save mfikes/c4669e6ba617e2eedadd to your computer and use it in GitHub Desktop.
Custom stack trace printing in Ambly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Default impl: | |
ClojureScript:cljs.user> (hello-ambly.core/test-exception-one) | |
Error: 1 is not ISeqable | |
cljs.core/seq (out/cljs/core.cljs:727:13) | |
cljs.core/first (out/cljs/core.cljs:736:7) | |
cljs.core/ffirst (out/cljs/core.cljs:1155:3) | |
hello-ambly.core/test-exception-two (out/hello_ambly/core.cljs:16:3) | |
hello-ambly.core/test-exception-one (out/hello_ambly/core.cljs:19:3) | |
With custom impl of cljs.repl/IPrintStackTrace printing original files | |
ClojureScript:cljs.user> (hello-ambly.core/test-exception-one) | |
Error: 1 is not ISeqable | |
cljs.core/seq (jar:file:/Users/mfikes/.m2/repository/org/clojure/clojurescript/0.0-2842/clojurescript-0.0-2842.jar!/cljs/core.cljs:727:13) | |
cljs.core/first (jar:file:/Users/mfikes/.m2/repository/org/clojure/clojurescript/0.0-2842/clojurescript-0.0-2842.jar!/cljs/core.cljs:736:7) | |
cljs.core/ffirst (jar:file:/Users/mfikes/.m2/repository/org/clojure/clojurescript/0.0-2842/clojurescript-0.0-2842.jar!/cljs/core.cljs:1155:3) | |
hello-ambly.core/test-exception-two (file:/Users/mfikes/Documents/Projects/hello-ambly/src/hello_ambly/core.cljs:16:3) | |
hello-ambly.core/test-exception-one (file:/Users/mfikes/Documents/Projects/hello-ambly/src/hello_ambly/core.cljs:19:3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment