From 035f82ff62c20743c8d32ffa9fe95773a8e9df89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 25 Apr 2022 11:12:55 +0800 Subject: add log --- script/parser/guide.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'script/parser/guide.lua') 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 -- cgit v1.2.3