improve: logging text in snapshotVideo.ts

This commit is contained in:
alikia2x (寒寒) 2025-04-14 05:39:27 +08:00
parent 13ea8fec8b
commit 68bd46fd8a
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6

View File

@ -31,7 +31,7 @@ export const snapshotVideoWorker = async (job: Job): Promise<void> => {
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",
);