Not sure what actually happens when say a Capistrano deployment command fails. I'm catching any errors surfaced by shelljs and sequest, but how these libraries actually handle non-zero exit status is still in question. Ideally they should be throwing an error, but I'm not sure if this is the case. They may, for example, be simply returning an error message.
sequest throws an error on non-zero exit, but shelljs does not, it simply returns the error and exit status. For shelljs, I'll have to check explicitly for non-zero exit status.
Not sure what actually happens when say a Capistrano deployment command fails. I'm catching any errors surfaced by
shelljs
andsequest
, but how these libraries actually handle non-zero exit status is still in question. Ideally they should be throwing an error, but I'm not sure if this is the case. They may, for example, be simply returning an error message.