fix: error

This commit is contained in:
手瓜一十雪 2024-10-27 11:17:01 +08:00
parent 0728ee9ad6
commit 8b0232c4fe

View File

@ -123,7 +123,7 @@ export class OB11PassiveWebSocketAdapter implements IOB11NetworkAdapter {
if (err) {
this.logger.logError.bind(this.logger)('[OneBot] [WebSocket Server] Error closing server:', err.message);
} else {
this.logger.log('[OneBot] [WebSocket Server] Server Closed');
this.logger.log.bind(this.logger)('[OneBot] [WebSocket Server] Server Closed');
}
});