refactor: logger bind (#577)

This commit is contained in:
手瓜一十雪 authored and GitHub committed 2024-11-28 20:55:28 +08:00
1 parent 9f19ceca87
commit cd6dbd69cc
19 files changed
+109 -117

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ export class NTQQPacketApi {
await this.InitSendPacket(this.context.basicInfoWrapper.getFullQQVesion())
.then()
.catch((err) => {
this.logger.logError.bind(this.core.context.logger);
this.logger.logError(err);
this.errStack.push(err);
});
}