From 8b913216c341f9a673e97c8c5176a91caf23923d Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Sun, 28 Sep 2025 15:39:45 -0400 Subject: Use uri path for log when document does not exist --- src/server/documents.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/documents.odin b/src/server/documents.odin index b513da6..15e7ad6 100644 --- a/src/server/documents.odin +++ b/src/server/documents.odin @@ -284,7 +284,7 @@ document_close :: proc(uri_string: string) -> common.Error { document := &document_storage.documents[uri.path] if document == nil || !document.client_owned { - log.errorf("Client called close on a document that was never opened: %v ", document.uri.path) + log.errorf("Client called close on a document that was never opened: %v ", uri.path) return .InvalidRequest } -- cgit v1.2.3