From fab7c2c6f9514bc0a1fd8a17c3f24337a491b169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?impart=E6=88=91=E7=9A=84impart=E5=91=A2?= Date: Sat, 9 Mar 2024 00:38:57 +0800 Subject: [PATCH] docs: improve config parse error message --- packages/shell/src/services/config/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shell/src/services/config/index.ts b/packages/shell/src/services/config/index.ts index aaca1b2..7bad5da 100644 --- a/packages/shell/src/services/config/index.ts +++ b/packages/shell/src/services/config/index.ts @@ -53,7 +53,7 @@ const task = (async () => { { code: 2157 }, ) - l.error(new Error(`解析配置时出现问题。${validateResult}`), { + l.error(new Error(`解析配置时出现问题。\n${validateResult}\n\n\t配置文件位置:${configPath}\n\t请自行检查。`), { code: 2154, throw: true, })