From 68bd46fd8a0286cde81d17b2eabf3ca14a90a016 Mon Sep 17 00:00:00 2001 From: alikia2x Date: Mon, 14 Apr 2025 05:39:27 +0800 Subject: [PATCH] improve: logging text in snapshotVideo.ts --- packages/crawler/mq/exec/snapshotVideo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/crawler/mq/exec/snapshotVideo.ts b/packages/crawler/mq/exec/snapshotVideo.ts index 20de59b..364d8b3 100644 --- a/packages/crawler/mq/exec/snapshotVideo.ts +++ b/packages/crawler/mq/exec/snapshotVideo.ts @@ -31,7 +31,7 @@ export const snapshotVideoWorker = async (job: Job): Promise => { const status = await getBiliVideoStatus(client, aid); if (status !== 0) { logger.warn( - `Bilibili return status ${status} when snapshoting for ${aid}.`, + `Video ${aid} has status ${status} in the database. Abort snapshoting.`, "mq", "fn:dispatchRegularSnapshotsWorker", );