aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBradley Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-28 15:45:12 -0400
committerGitHub <noreply@github.com>2025-09-28 15:45:12 -0400
commit342fdfdd764311beda4efd1c185cbee8b12e864f (patch)
tree254180d6413a6eabf58a7ca5c3511fd78738bd1c /src
parentc35f2c1cb893ecd24820d7405b85c45ec20731af (diff)
parent8b913216c341f9a673e97c8c5176a91caf23923d (diff)
Merge pull request #1066 from BradLewis/fix/crash-renaming-zed
Use uri path for log when document does not exist
Diffstat (limited to 'src')
-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
}