summaryrefslogtreecommitdiff
path: root/script/files.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-05 11:27:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-05 11:27:38 +0800
commit4afa5143c629ae37cb64742b4c55e88feaadafb9 (patch)
treef6d8c5a09b9c4816bc7f5c26304e82a3adb6b0c5 /script/files.lua
parent68f5676d9c85ccc10efa08f32b63cc98cffe9f1e (diff)
downloadlua-language-server-4afa5143c629ae37cb64742b4c55e88feaadafb9.zip
add log
Diffstat (limited to 'script/files.lua')
-rw-r--r--script/files.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/files.lua b/script/files.lua
index 3a1a3872..53c7445e 100644
--- a/script/files.lua
+++ b/script/files.lua
@@ -406,7 +406,7 @@ function m.compileAst(uri, text)
end})
return state
else
- log.error(err)
+ log.error('Compile failed:', m.getOriginUri(uri), err)
return nil
end
end