clj-commons/clj-ssh

Add a version of with-connection that only executes the body if the connection suceeds

hugoduncan opened this issue · 0 comments

Currently, with-connection executes it's body, even if the connection attempt fails. I'm not sure if an exception should be thrown, or some return value should be used to denote failure.