diff --git a/src/cljs/snapshot/lumo/repl.cljs b/src/cljs/snapshot/lumo/repl.cljs index f8ce0269..d012e64b 100644 --- a/src/cljs/snapshot/lumo/repl.cljs +++ b/src/cljs/snapshot/lumo/repl.cljs @@ -696,7 +696,10 @@ #_(when-let [data (and print-ex-data? (ex-data error))] (print-value data {::as-code? false})) (when stacktrace? - (let [opts {:output-dir "file://(/goog/..)?"} + ;; .lumo-cache seems more appropriate, see examples in core: + ;; https://github.com/clojure/clojurescript/blob/20a6e1fcd8724ad65a3776112dcc7bfd5124a094/src/main/cljs/cljs/stacktrace.cljc#L206 + ;; https://github.com/clojure/clojurescript/blob/20a6e1fcd8724ad65a3776112dcc7bfd5124a094/src/main/cljs/cljs/stacktrace.cljc#L537-L551 + (let [opts {:output-dir ".lumo_cache"} canonical-stacktrace (into [] stacktrace-patch-xf (st/parse-stacktrace