mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
chore: improve log output for protocol fetch with multiple messages
This commit is contained in:
@@ -373,7 +373,8 @@ export class OneBotMsgApi {
|
||||
try {
|
||||
multiMsgs = await this.core.apis.PacketApi.pkt.operation.FetchForwardMsg(element.resId);
|
||||
} catch (e) {
|
||||
this.core.context.logger.logError('Protocol FetchForwardMsg fallback failed!', e);
|
||||
this.core.context.logger.logError(`Protocol FetchForwardMsg fallback failed!
|
||||
element = ${JSON.stringify(element)} , error=${e})`);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user