We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f48218 + 16435c2 commit 6da159aCopy full SHA for 6da159a
LibGit2Sharp/Core/Ensure.cs
@@ -148,7 +148,7 @@ private static unsafe void HandleError(int result)
148
Func<string, GitErrorCategory, LibGit2SharpException> exceptionBuilder;
149
if (!GitErrorsToLibGit2SharpExceptions.TryGetValue((GitErrorCode)result, out exceptionBuilder))
150
{
151
- exceptionBuilder = (m, c) => new LibGit2SharpException(m, c);
+ exceptionBuilder = (m, c) => new LibGit2SharpException(m);
152
}
153
154
throw exceptionBuilder(errorMessage, errorCategory);
0 commit comments