Skip to content

Commit 0d73f45

Browse files
committed
NO_FUNCTION too noisy for stacktraces in Closure Library
1 parent 49229f5 commit 0d73f45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/clj/cljs/repl.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@
292292
(doseq [{:keys [function file line column]}
293293
(mapped-stacktrace stacktrace opts)]
294294
((:print opts) "\t"
295-
(str (or function "NO_FUNCTION")
296-
" (" file ":" line ":" column ")")))))
295+
(str (and function (str function " "))
296+
"(" file ":" line ":" column ")")))))
297297

298298
(comment
299299
(cljsc/build "samples/hello/src"

0 commit comments

Comments
 (0)