mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-16 04:35:56 +00:00
feat(shell): log warn when no engine found
This commit is contained in:
parent
7b3cb39c73
commit
6f848f3f0a
@ -67,6 +67,9 @@ export const chronocat = async () => {
|
||||
}
|
||||
})
|
||||
|
||||
if (!engines.length)
|
||||
l.warn('没有找到任何引擎。Chronocat 服务仍将启动。', { code: 2156 })
|
||||
|
||||
for (const engineInfo of engines) {
|
||||
try {
|
||||
l.debug(
|
||||
|
Loading…
Reference in New Issue
Block a user