Skip to content

Commit

Permalink
When git fetching fails, the underlying error is gobbled,
Browse files Browse the repository at this point in the history
so the user doesn't have an idea as to why this might be.

Just add it to the console so they can discover why.


Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
  • Loading branch information
magnayn committed Mar 25, 2011
1 parent bc51664 commit a1f63b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/hudson/plugins/git/GitSCM.java
Expand Up @@ -587,6 +587,7 @@ private boolean fetchFrom( IGitAPI git,
"Problem fetching from " + remoteRepository.getName()
+ " / " + remoteRepository.getName()
+ " - could be unavailable. Continuing anyway");
listener.error( " (Underlying report) : " + ex.getMessage() );
}
return false;
}
Expand Down

0 comments on commit a1f63b8

Please sign in to comment.