From e22711179a9632ea6c074adef0e3cb81820b23ff Mon Sep 17 00:00:00 2001 From: David Barbet Date: Mon, 10 Jun 2024 12:10:59 -0700 Subject: [PATCH] Update src/LanguageServer/Protocol/Handler/CodeLens/CodeLensResolveHandler.cs Co-authored-by: Sam Harwell --- .../Protocol/Handler/CodeLens/CodeLensResolveHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensResolveHandler.cs b/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensResolveHandler.cs index a8a74fb455e12..a36bc0f6d91e9 100644 --- a/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensResolveHandler.cs +++ b/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensResolveHandler.cs @@ -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 };