We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b110836 commit fa5e785Copy full SHA for fa5e785
src/clj/cljs/repl.clj
@@ -28,7 +28,8 @@
28
[java.net URL]
29
[javax.xml.bind DatatypeConverter]
30
[clojure.lang IExceptionInfo]
31
- [java.util.regex Pattern]))
+ [java.util.regex Pattern]
32
+ [com.google.common.base Throwables]))
33
34
(def ^:dynamic *cljs-verbose* false)
35
(def ^:dynamic *repl-opts* nil)
@@ -365,7 +366,7 @@
365
366
(catch Throwable e
367
(when (:repl-verbose opts)
368
(print "Failed to canonicalize stacktrace")
- (print (with-out-str (.printStacktrace e *out*)))
369
+ (print (Throwables/getStackTraceAsString e))
370
(flush))))]
371
(if (vector? cst)
372
(if (satisfies? IPrintStacktrace repl-env)
0 commit comments