diff --git a/index.ts b/index.ts index 8d8fa34..15738c3 100644 --- a/index.ts +++ b/index.ts @@ -145,9 +145,10 @@ while (true) { publishedAt: item.snippet?.publishedAt, })); - logger.debug("Found %d videos: %j", videos.length, videos); - - if (videos.length === 0) { + if (videos.length > 0) { + logger.info("Found %d videos...", videos.length); + logger.debug("Videos = `%j`", videos); + } else { logger.warn("Got no videos!"); }