Log rate AP fetch error as info

It's not really a warning, we could have many invalid rates in the
federation
This commit is contained in:
Chocobozzz 2021-06-08 13:57:08 +02:00
parent ec908b4a07
commit 7ffa92d6e4
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -19,7 +19,7 @@ async function createRates (ratesUrl: string[], video: MVideo, rate: VideoRateTy
try {
await createRate(rateUrl, video, rate)
} catch (err) {
logger.warn('Cannot add rate %s.', rateUrl, { err, ...lTags(rateUrl, video.uuid, video.url) })
logger.info('Cannot add rate %s.', rateUrl, { err, ...lTags(rateUrl, video.uuid, video.url) })
}
}, { concurrency: CRAWL_REQUEST_CONCURRENCY })
}