ITADN

rebel-readline-nrepl will spam error if nrepl dies

#221Closedfilipesilva 创建于 2025-02-16
F
filipesilvacommented
Repro steps: In terminal one start the nrepl: ``` clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version "1.3.1"}}}' -M -m nrepl.cmdline --port 7888 ``` In terminal two start rebel-readline-nrepl: ``` clojure -Sdeps "{:aliases {:nrebel {:deps {com.bhauman/rebel-readline-nrepl {:mvn/version \"0.1.5\"}}, :exec-fn rebel-readline.nrepl/connect, :exec-args {:port 7888}}}}" -T:nrebel ``` Then press CTRL+C on terminal one. Terminal two will keep repeating these lines: ``` user=> Execution error (SocketException) at nrepl.transport/bencode$fn$fn (transport.clj:130). The transport's socket appears to have lost its connection to the nREPL server Internal REPL Error: this shouldn't happen. :repl/*e for stacktrace user=> Execution error (SocketException) at nrepl.transport/bencode$fn$fn (transport.clj:130). The transport's socket appears to have lost its connection to the nREPL server Internal REPL Error: this shouldn't happen. :repl/*e for stacktrace user=> Execution error (SocketException) at nrepl.transport/bencode$fn$fn (transport.clj:130). The transport's socket appears to have lost its connection to the nREPL server ```
关闭于 2025-03-16 2 条评论