Skip to content

Commit

Permalink
Update the REPL support to present minimal information when an except…
Browse files Browse the repository at this point in the history
…ion occurs
  • Loading branch information
hlship committed Mar 7, 2014
1 parent 490a129 commit 8e75419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/aviso/repl.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
(flush))

(defn pretty-repl-caught
"A replacement for clojure.main/repl-caught that prints the exception to *err*, without a stack trace."
"A replacement for clojure.main/repl-caught that prints the exception to *err*, without a stack trace or properties."
[e]
(write e :stack-trace false))
(write e :frame-limit 0 :properties false))

(defn pretty-pst
"Used as an override of clojure.repl/pst but uses pretty formatting. The optional parameter must be an exception
Expand Down

0 comments on commit 8e75419

Please sign in to comment.