mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
chore: logger
This commit is contained in:
@@ -135,6 +135,7 @@ export class OB11ActiveWebSocketAdapter implements IOB11NetworkAdapter {
|
|||||||
const packet = Object.assign({}, retdata);
|
const packet = Object.assign({}, retdata);
|
||||||
this.checkStateAndReply<any>(packet);
|
this.checkStateAndReply<any>(packet);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
this.logger.logError('[OneBot] [WebSocket Client] 发生错误', e);
|
||||||
this.checkStateAndReply<any>(OB11Response.error('不支持的api ' + receiveData.action, 1404, echo));
|
this.checkStateAndReply<any>(OB11Response.error('不支持的api ' + receiveData.action, 1404, echo));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user