Fail the command if a deployment fails