Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit e35fa1f

Browse files
Making sure to throw exception
1 parent acc015a commit e35fa1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/Application/ApiClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public async Task<bool> ContinueLoginAsync(LoginResult loginResult, Func<LoginRe
190190

191191
if (!await EnsureKeychainLoaded())
192192
{
193-
return null;
193+
throw new InvalidOperationException("The keychain did not load");
194194
}
195195

196196
Octokit.Repository repository;

0 commit comments

Comments
 (0)