Skip to content

Commit

Permalink
fixed exit-dr
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeJahad committed Feb 7, 2010
1 parent 59e944c commit fd60f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/alex_and_georges/debug_repl.clj
Expand Up @@ -91,7 +91,7 @@ values."
(throw quit-dr-exception))

(def exit-dr-exception
(Exception. ))
(Throwable. "Exiting back to main repl from debug-repl"))

(defn exit-dr []
(throw exit-dr-exception))
Expand Down Expand Up @@ -123,7 +123,7 @@ values."
(eval-fn# new-form#)
(eval-fn# ~form))
(= e# exit-dr-exception)
(when (> level 0)
(when (> level -1)
(throw exit-dr-exception))
:else (throw e#)))))))

Expand Down

0 comments on commit fd60f12

Please sign in to comment.