From 7ffa92d6e4e49fc81fc40489302c46ac84f94b92 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 8 Jun 2021 13:57:08 +0200 Subject: [PATCH] Log rate AP fetch error as info It's not really a warning, we could have many invalid rates in the federation --- server/lib/activitypub/video-rates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/activitypub/video-rates.ts b/server/lib/activitypub/video-rates.ts index 53ae1780b..9fb97ef84 100644 --- a/server/lib/activitypub/video-rates.ts +++ b/server/lib/activitypub/video-rates.ts @@ -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 }) }