feat: improve logging
This commit is contained in:
parent
6ebcf74365
commit
24d1ec7acd
1 changed files with 2 additions and 1 deletions
3
index.ts
3
index.ts
|
@ -145,7 +145,8 @@ while (true) {
|
||||||
publishedAt: item.snippet?.publishedAt,
|
publishedAt: item.snippet?.publishedAt,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
logger.debug("Found %d videos: %j", videos.length, videos);
|
logger.debug("Found %d videos...", videos.length);
|
||||||
|
logger.debug("%j", videos);
|
||||||
|
|
||||||
if (videos.length === 0) {
|
if (videos.length === 0) {
|
||||||
logger.warn("Got no videos!");
|
logger.warn("Got no videos!");
|
||||||
|
|
Loading…
Reference in a new issue