Skip to content

Commit 77c7cab

Browse files
committed
add some data to the repl init fail ex-info
1 parent ccfdf1c commit 77c7cab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/clojure/cljs/repl.cljc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,9 @@
12141214
(flush))
12151215
(recur))))))))
12161216
(catch Throwable t
1217-
(throw (ex-info "Unexpected error during REPL initialization" {} t)))
1217+
(throw
1218+
(ex-info "Unexpected error during REPL initialization"
1219+
{::error :init-failed} t)))
12181220
(finally
12191221
(reset! done? true)
12201222
(-tear-down repl-env)))))))

0 commit comments

Comments
 (0)