chore: better log

This commit is contained in:
pk5ls20 committed 2024-11-05 13:52:56 +08:00
1 parent 9b448b17e6
commit 017b8b7f15
5 files changed
+11 -19

No files matched your search

+2 -2
View File
@@ -41,9 +41,9 @@ export class PacketSession {
}
}
if (!selectedClient) {
throw new Error("No compatible PacketClient found");
throw new Error("[Core] [Packet] 无可用的后端,NapCat.Packet将不会加载!");
}
this.logger.log(`[Packet] 自动选择了: ${selectedClient.name}`);
this.logger.log(`[Core] [Packet] 自动选择 ${selectedClient.name} 作为后端`);
return selectedClient.create(core);
}
}