Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix bug in calculate-restarts triggered by exceptions with no message

  • Loading branch information...
commit ea40515529018d9931cf66f25ebeee14550f1435 1 parent 75fa5fa
@hugoduncan hugoduncan authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/swank/core.clj
View
3  src/swank/core.clj
@@ -168,7 +168,8 @@ values."
:abort "ABORT" (str "ABORT to SLIME level " (dec *sldb-level*))
(fn [] (throw *debug-abort-exception*)))
restarts (add-restart-if
- (.contains (.getMessage thrown) "BREAK")
+ (and (.getMessage thrown)
+ (.contains (.getMessage thrown) "BREAK"))
restarts
:continue "CONTINUE" (str "Continue from breakpoint")
(fn [] (throw *debug-continue-exception*)))
Please sign in to comment.
Something went wrong with that request. Please try again.