Skip to content

Commit 00bf079

Browse files
Richasymichael-hawker
authored andcommitted
Update
1 parent fd99dfc commit 00bf079

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CommunityToolkit.Authentication.Uwp/WindowsProvider.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ async void OnAccountCommandsRequested(AccountsSettingsPane sender, AccountsSetti
502502
}
503503
}
504504
}
505+
catch (Exception ex)
505506
{
506507
webAccountProviderTaskCompletionSource.SetException(ex);
507508
}
@@ -571,7 +572,7 @@ private async Task<List<WebAccountProvider>> GetWebAccountProvidersAsync()
571572
await FindAndAddProviderAsync(MicrosoftProviderId, AadAuthority);
572573
}
573574

574-
if (_webAccountProviderConfig.WebAccountProviderType == WebAccountProviderType.Local)
575+
if(_webAccountProviderConfig.WebAccountProviderType == WebAccountProviderType.Local)
575576
{
576577
await FindAndAddProviderAsync(LocalProviderId);
577578
}

0 commit comments

Comments
 (0)