Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #133 from rwfowler/showExceptionToString

Try .toString on current-exception before defaulting to "No message."
  • Loading branch information...
commit 0ad66363688666d5c6522bd47d25248615e743d0 2 parents 57844d3 + bb2264e
@technomancy authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/swank/core.clj
View
4 src/swank/core.clj
@@ -142,7 +142,9 @@ values."
(map #(exception-str width %) (.getStackTrace #^Throwable t)))))
(defmethod debugger-condition-for-emacs :default []
- (list (or (.getMessage #^Throwable *current-exception*) "No message.")
+ (list (or (.getMessage #^Throwable *current-exception*)
+ (.toString #^Throwable *current-exception*)
+ "No message.")
(str " [Thrown " (class *current-exception*) "]")
nil))
Please sign in to comment.
Something went wrong with that request. Please try again.