diff --git a/src/babashka/impl/clojure/stacktrace.clj b/src/babashka/impl/clojure/stacktrace.clj index a220fd88..e2bbd8ff 100644 --- a/src/babashka/impl/clojure/stacktrace.clj +++ b/src/babashka/impl/clojure/stacktrace.clj @@ -78,11 +78,4 @@ (print-stack-trace tr n) (when-let [cause (.getCause tr)] (print "Caused by: " ) - (recur cause n)))) - -(defn e - "REPL utility. Prints a brief stack trace for the root cause of the - most recent exception." - {:added "1.1"} - [] - (print-stack-trace (root-cause *e) 8)) + (recur cause n)))) \ No newline at end of file diff --git a/src/babashka/impl/exceptions.clj b/src/babashka/impl/exceptions.clj index 2d0dc9fd..b0c882ca 100644 --- a/src/babashka/impl/exceptions.clj +++ b/src/babashka/impl/exceptions.clj @@ -1,7 +1 @@ -(ns babashka.impl.exceptions) - -(def exception-bindings - {'ArithmeticException ArithmeticException - 'java.lang.ArithmeticException ArithmeticException - 'java.lang.AssertionError AssertionError - 'AssertionError AssertionError}) +(ns babashka.impl.exceptions) \ No newline at end of file diff --git a/src/babashka/impl/socket_repl.clj b/src/babashka/impl/socket_repl.clj index a18025b9..c18458d3 100644 --- a/src/babashka/impl/socket_repl.clj +++ b/src/babashka/impl/socket_repl.clj @@ -27,7 +27,6 @@ (server/stop-server)) (comment - (def sock (start-repl! "0.0.0.0:1666" {:env (atom {})})) @#'server/servers (stop-repl!) )