X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Factivitypub%2Factors%2Frefresh.ts;h=6d8428d6627578f8e4155ce2b0aed421bbb73378;hb=1cc9774668827c1255e4cd0775cb781c7f73051c;hp=0acaa9f62c1bfddb69ab9c7271d7032e00130837;hpb=a24bd1ed41b43790bab6ba789580bb4e85f07d85;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/activitypub/actors/refresh.ts b/server/lib/activitypub/actors/refresh.ts index 0acaa9f62..6d8428d66 100644 --- a/server/lib/activitypub/actors/refresh.ts +++ b/server/lib/activitypub/actors/refresh.ts @@ -48,7 +48,7 @@ async function doRefresh (option const { actorObject } = await fetchRemoteActor(actorUrl) if (actorObject === undefined) { - logger.warn('Cannot fetch remote actor in refresh actor.') + logger.info('Cannot fetch remote actor %s in refresh actor.', actorUrl) return { actor, refreshed: false } } @@ -67,7 +67,7 @@ async function doRefresh (option return { actor: undefined, refreshed: false } } - logger.warn('Cannot refresh actor %s.', actor.url, { err, ...lTags() }) + logger.info('Cannot refresh actor %s.', actor.url, { err, ...lTags() }) return { actor, refreshed: false } } } @@ -75,7 +75,7 @@ async function doRefresh (option function getActorUrl (actor: MActorFull) { return getUrlFromWebfinger(actor.preferredUsername + '@' + actor.getHost()) .catch(err => { - logger.warn('Cannot get actor URL from webfinger, keeping the old one.', err) + logger.warn('Cannot get actor URL from webfinger, keeping the old one.', { err }) return actor.url }) }