Skip to content

Commit 63860a0

Browse files
chore(logging): 补全错误日志
re #219
1 parent 84a76e2 commit 63860a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/lib/utils/formUtils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ export function getUiField(FIELDS_MAP, {
9999
}
100100

101101
// 不支持的类型
102-
throw new Error(`不支持的field类型 ${schema.type}`);
102+
console.error('当前schema:', schema);
103+
throw new Error(`不支持的field类型, type: ${schema.type}`);
103104
}
104105

105106
// 解析用户配置的 uiSchema options

0 commit comments

Comments
 (0)