Skip to content

Commit 42cc46b

Browse files
author
Bruce Hauman
committed
using :log-level :debug should show all compilation stack-traces
1 parent 79dbbda commit 42cc46b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/figwheel/main.cljc

+4-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,9 @@
219219
(figwheel.core/reload-clj-files clj-files)
220220
(catch Throwable t
221221
(if (-> t ex-data :figwheel.core/internal)
222-
(log/error (.getMessage t) t)
222+
(do
223+
(log/error (.getMessage t) t)
224+
(log/debug (with-out-str (clojure.pprint/pprint (Throwable->map t)))))
223225
(do
224226
(log/syntax-exception t)
225227
(figwheel.core/notify-on-exception cenv t {})))
@@ -2009,6 +2011,7 @@ In the cljs.user ns, controls can be called without ns ie. (conns) instead of (f
20092011
(build config options cenv)
20102012
(catch Throwable t
20112013
(log/error t)
2014+
(log/debug (with-out-str (clojure.pprint/pprint (Throwable->map t))))
20122015
;; when not watching throw build errors
20132016
(when-not (and (not build-once)
20142017
(= :none (:optimizations options :none))

0 commit comments

Comments
 (0)