Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Try .toString on current-exception before defaulting to "No message."

  • Loading branch information...
commit bb2264ebf09bceb0f90da42ecf5718ab3fc0ed0d 1 parent 57844d3
@ryfow 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.