Log rate AP fetch error as info

It's not really a warning, we could have many invalid rates in the
federation
pull/4175/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -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 })
} }