We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90a1935 commit 296899fCopy full SHA for 296899f
1 file changed
src/client/Microsoft.Identity.Client/Instance/Discovery/InstanceDiscoveryManager.cs
@@ -202,7 +202,7 @@ private async Task<InstanceDiscoveryMetadataEntry> FetchNetworkMetadataOrFallbac
202
requestContext.Logger.Error($"[Instance Discovery] Instance discovery failed - invalid instance! ");
203
throw;
204
}
205
- catch (Exception e)
+ catch (Exception e) when (!requestContext.UserCancellationToken.IsCancellationRequested)
206
{
207
requestContext.Logger.Warning(
208
$"[Instance Discovery] Instance Discovery failed. MSAL will continue without instance metadata. \n\r" +
0 commit comments