diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-25 11:12:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-25 11:12:55 +0800 |
commit | 035f82ff62c20743c8d32ffa9fe95773a8e9df89 (patch) | |
tree | bc28a66fed24b687ccad70d60b21fd93dc088557 /script/parser/guide.lua | |
parent | bdd079408013f0b09788e05c01d6e5a3649d1dcf (diff) | |
download | lua-language-server-035f82ff62c20743c8d32ffa9fe95773a8e9df89.zip |
add log
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r-- | script/parser/guide.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index fffba639..1e07d987 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -406,6 +406,7 @@ function m.getRoot(obj) end local parent = obj.parent if not parent then + log.error('Can not find out root:', obj.type) return nil end obj = parent |