Skip to content

Conversation

@davidwengier
Copy link
Member

Follow up to #8207

That PR fixes the issue, this PR makes us resiliant to downstream servers throwing exceptions getting code actions in general (and adds ConfigureAwait calls because there were a few missing)

@davidwengier davidwengier requested a review from a team as a code owner February 3, 2023 01:16
}
catch (RemoteInvocationException e)
{
logger.LogException(e, "Error getting code actions from delegate language server for {languageKind}", languageKind);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means we'll get a prism bug if enough of these happens, which will be good to highlight for partner teams, but won't prevent us from showing Razor code actions either

@davidwengier davidwengier merged commit 71a7cb7 into dotnet:main Feb 5, 2023
@davidwengier davidwengier deleted the CatchCodeActionsExceptions branch February 5, 2023 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants