diff options
Diffstat (limited to 'apps/workers/videoWorker.ts')
| -rw-r--r-- | apps/workers/videoWorker.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/workers/videoWorker.ts b/apps/workers/videoWorker.ts index f81b0960..10f18454 100644 --- a/apps/workers/videoWorker.ts +++ b/apps/workers/videoWorker.ts @@ -116,9 +116,8 @@ async function runWorker(job: DequeuedJob<ZVideoRequest>) { } catch (e) {
const err = e as Error;
if (
- err.message.includes(
- "ERROR: Unsupported URL:" || err.message.includes("No media found"),
- )
+ err.message.includes("ERROR: Unsupported URL:") ||
+ err.message.includes("No media found")
) {
logger.info(
`[VideoCrawler][${jobId}] Skipping video download from "${url}", because it's not one of the supported yt-dlp URLs`,
|
