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:
parent
ec908b4a07
commit
7ffa92d6e4
|
@ -19,7 +19,7 @@ async function createRates (ratesUrl: string[], video: MVideo, rate: VideoRateTy
|
||||||
try {
|
try {
|
||||||
await createRate(rateUrl, video, rate)
|
await createRate(rateUrl, video, rate)
|
||||||
} catch (err) {
|
} 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 })
|
}, { concurrency: CRAWL_REQUEST_CONCURRENCY })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue