aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub/video-rates.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-08 13:57:08 +0200
committerChocobozzz <me@florianbigard.com>2021-06-08 13:57:08 +0200
commit7ffa92d6e4e49fc81fc40489302c46ac84f94b92 (patch)
tree3af285c7369a06318f92cd9a45df4740fbcb14d8 /server/lib/activitypub/video-rates.ts
parentec908b4a07de6c6f9c463ef8dd0982c82d9019d6 (diff)
downloadPeerTube-7ffa92d6e4e49fc81fc40489302c46ac84f94b92.tar.gz
PeerTube-7ffa92d6e4e49fc81fc40489302c46ac84f94b92.tar.zst
PeerTube-7ffa92d6e4e49fc81fc40489302c46ac84f94b92.zip
Log rate AP fetch error as info
It's not really a warning, we could have many invalid rates in the federation
Diffstat (limited to 'server/lib/activitypub/video-rates.ts')
-rw-r--r--server/lib/activitypub/video-rates.ts2
1 files changed, 1 insertions, 1 deletions
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
19 try { 19 try {
20 await createRate(rateUrl, video, rate) 20 await createRate(rateUrl, video, rate)
21 } catch (err) { 21 } catch (err) {
22 logger.warn('Cannot add rate %s.', rateUrl, { err, ...lTags(rateUrl, video.uuid, video.url) }) 22 logger.info('Cannot add rate %s.', rateUrl, { err, ...lTags(rateUrl, video.uuid, video.url) })
23 } 23 }
24 }, { concurrency: CRAWL_REQUEST_CONCURRENCY }) 24 }, { concurrency: CRAWL_REQUEST_CONCURRENCY })
25} 25}