Skip to content

Commit

Permalink
Update src/LanguageServer/Protocol/Handler/CodeLens/CodeLensResolveHa…
Browse files Browse the repository at this point in the history
…ndler.cs

Co-authored-by: Sam Harwell <[email protected]>
  • Loading branch information
dibarbet and sharwell authored Jun 10, 2024
1 parent 053ccf6 commit e227111
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public LSP.TextDocumentIdentifier GetTextDocumentIdentifier(LSP.CodeLens request
// If the request is for an older version of the document, throw an exception so the client knows to re-query us.
if (resolveData.SyntaxVersion != currentDocumentSyntaxVersion.ToString())
{
throw new LocalRpcException($"Resolve version {resolveData.SyntaxVersion} does not match current version {currentDocumentSyntaxVersion}")
throw new LocalRpcException($"Resolve version '{resolveData.SyntaxVersion}' does not match current version '{currentDocumentSyntaxVersion}'")
{
ErrorCode = LspErrorCodes.ContentModified
};
Expand Down

0 comments on commit e227111

Please sign in to comment.