This commit is contained in:
手瓜一十雪
2024-11-25 21:58:35 +08:00
parent c3568d07e8
commit a1079dd948

View File

@@ -920,7 +920,7 @@ export class OneBotMsgApi {
fsPromise.unlink(file).then().catch(e => this.core.context.logger.logError.bind(this.core.context.logger)('发送消息删除文件失败', e)); fsPromise.unlink(file).then().catch(e => this.core.context.logger.logError.bind(this.core.context.logger)('发送消息删除文件失败', e));
} }
} catch (error) { } catch (error) {
this.core.context.logger.logError.bind(this.core.context.logger)('发送消息删除文件失败', (e as Error).message) this.core.context.logger.logError.bind(this.core.context.logger)('发送消息删除文件失败', (error as Error).message)
} }
}); });
}, 60000); }, 60000);