Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Merged
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: 2 additions & 0 deletions libraries/Microsoft.Bot.Builder.Dialogs/SkillDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ private async Task<bool> InterceptOAuthCardsAsync(ITurnContext turnContext, Acti
return false;
}

#pragma warning disable CA1031 // Do not catch general exception types
try
{
var settings = new OAuthPromptSettings() { ConnectionName = connectionName };
Expand All @@ -357,6 +358,7 @@ private async Task<bool> InterceptOAuthCardsAsync(ITurnContext turnContext, Acti
// Failures in token exchange are not fatal. They simply mean that the user needs to be shown the OAuth card.
return false;
}
#pragma warning restore CA1031 // Do not catch general exception types
}

private async Task<bool> SendTokenExchangeInvokeToSkillAsync(Activity incomingActivity, string id, string connectionName, string token, CancellationToken cancellationToken)
Expand Down