Don't show the "Suppressed exit" message when exit is called

This commit is contained in:
Ben Booth 2014-02-07 16:58:59 -08:00
parent 6395e6eb4d
commit 4f24b89e3b

View file

@ -112,7 +112,7 @@
(if *exit-process?*
(do (shutdown-agents)
(System/exit exit-code))
(throw (ex-info "Suppressed exit" {:exit-code exit-code}))))
(throw (ex-info "Suppressed exit" {:exit-code exit-code :suppress-msg true}))))
([] (exit 0)))
(defn abort