Skip to content

Add a few asserts/throws to our CodeModel implementation#59500

Merged
jasonmalinowski merged 2 commits intodotnet:mainfrom
jasonmalinowski:better-logging-for-failed-tryapplychanges
Feb 11, 2022
Merged

Add a few asserts/throws to our CodeModel implementation#59500
jasonmalinowski merged 2 commits intodotnet:mainfrom
jasonmalinowski:better-logging-for-failed-tryapplychanges

Conversation

@jasonmalinowski
Copy link
Copy Markdown
Member

While debugging some CodeModel issues yesterday, these would have greatly simplified the investigation. Just adding these now before I forget them and while we figure out how to properly fix the issues.

@jasonmalinowski jasonmalinowski requested a review from a team as a code owner February 11, 2022 20:28
@ghost ghost added the Area-IDE label Feb 11, 2022
@jasonmalinowski jasonmalinowski force-pushed the better-logging-for-failed-tryapplychanges branch from a67edef to ba4d350 Compare February 11, 2022 20:29
We had a case where a workspace change during the middle of a CodeModel
operation meant that this replace might throw not-obvious exceptions
later when we tried to reformat the tree.
@jasonmalinowski jasonmalinowski force-pushed the better-logging-for-failed-tryapplychanges branch from ba4d350 to b269e9c Compare February 11, 2022 21:08
@jasonmalinowski jasonmalinowski self-assigned this Feb 11, 2022
@jasonmalinowski jasonmalinowski merged commit b60f723 into dotnet:main Feb 11, 2022
@jasonmalinowski jasonmalinowski deleted the better-logging-for-failed-tryapplychanges branch February 11, 2022 23:04
@ghost ghost added this to the Next milestone Feb 11, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.2.P2 Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants