Skip to content

Commit 035f82f

Browse files
committed
add log
1 parent bdd0794 commit 035f82f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

script/parser/guide.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ function m.getRoot(obj)
406406
end
407407
local parent = obj.parent
408408
if not parent then
409+
log.error('Can not find out root:', obj.type)
409410
return nil
410411
end
411412
obj = parent

0 commit comments

Comments
 (0)