Verified Commit 7ffa92d6 authored by Chocobozzz's avatar Chocobozzz
Browse files

Log rate AP fetch error as info

It's not really a warning, we could have many invalid rates in the
federation
parent ec908b4a
......@@ -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 })
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment