From e0646a579b3a09ebdeb08c37444f0f0482782613 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:40:20 +0900 Subject: [PATCH] msg --- packages/backend/src/core/FileInfoService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/core/FileInfoService.ts b/packages/backend/src/core/FileInfoService.ts index fe5e39ac79..bc4b0917bf 100644 --- a/packages/backend/src/core/FileInfoService.ts +++ b/packages/backend/src/core/FileInfoService.ts @@ -338,14 +338,14 @@ export class FileInfoService { try { FFmpeg.ffprobe(path, (err, metadata) => { if (err) { - sublogger.warn(`Could not determine video file. Returns true. File path: ${path}`, err); + sublogger.warn(`Could not check the video file. Returns true. File path: ${path}`, err); resolve(true); return; } resolve(metadata.streams.some((stream) => stream.codec_type === 'video')); }); } catch (err) { - sublogger.warn(`Could not determine video file. Returns true. File path: ${path}`, err as Error); + sublogger.warn(`Could not check the video file. Returns true. File path: ${path}`, err as Error); resolve(true); } });