summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/parser/guide.lua1
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