Skip to content

Commit c4f0e76

Browse files
committed
Don't swallow unexpected exceptions form LibGit2Sharp; they might be very valuable for debugging purposes.
1 parent 5df71a1 commit c4f0e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersionCore/GitPreparer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static void CloneRepository(string repositoryUrl, string gitDirectory, Authentic
191191
throw new Exception("Not found: The repository was not found");
192192
}
193193

194-
throw new Exception("There was an unknown problem with the Git repository you provided");
194+
throw new Exception("There was an unknown problem with the Git repository you provided", ex);
195195
}
196196
}
197197
}

0 commit comments

Comments
 (0)