From 5e35cd64663279ef433348e2936ae86abbb1a04a Mon Sep 17 00:00:00 2001 From: Peter Sankauskas Date: Thu, 19 Jul 2012 15:48:13 -0700 Subject: [PATCH] Pass through error message when repo not found --- library/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/git b/library/git index 0c9592d702d..f02616394f8 100755 --- a/library/git +++ b/library/git @@ -190,7 +190,7 @@ else: # handle errors from clone or pull -if out.find('error') != -1: +if out.find('error') != -1 or err.find('ERROR') != -1: fail_json(out=out, err=err) # switch to version specified regardless of whether