aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-28 15:39:45 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-28 15:39:45 -0400
commit8b913216c341f9a673e97c8c5176a91caf23923d (patch)
tree254180d6413a6eabf58a7ca5c3511fd78738bd1c /src/server
parentc35f2c1cb893ecd24820d7405b85c45ec20731af (diff)
Use uri path for log when document does not exist
Diffstat (limited to 'src/server')
-rw-r--r--src/server/documents.odin2
1 files changed, 1 insertions, 1 deletions
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
}