Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/GitVersionCore/GitPreparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ static void CloneRepository(string repositoryUrl, string gitDirectory, Authentic
throw new Exception("Not found: The repository was not found");
}

throw new Exception("There was an unknown problem with the Git repository you provided");
throw new Exception("There was an unknown problem with the Git repository you provided", ex);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersionCore/GitVersionFinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public SemanticVersion FindVersion(GitVersionContext context)
var filePath = Path.Combine(context.Repository.GetRepositoryDirectory(), "NextVersion.txt");
if (File.Exists(filePath))
{
throw new WarningException("NextVersion.txt has been depreciated. See http://gitversion.readthedocs.org/en/latest/configuration/ for replacement");
throw new WarningException("NextVersion.txt has been deprecated. See http://gitversion.readthedocs.org/en/latest/configuration/ for replacement");
}

return new NextVersionCalculator().FindVersion(context);
Expand Down