mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-16 12:51:39 +00:00
docs: improve config parse error message
This commit is contained in:
parent
a06cda8154
commit
fab7c2c6f9
@ -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,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user