diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-13 10:04:22 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-13 10:04:22 +0200 |
commit | b0f4204266057316c11fc034da0ce86a212dc0b3 (patch) | |
tree | 026f06fbc6f1fc29fababc76880223f70ab4d7b7 /server/lib/activitypub/actors/refresh.ts | |
parent | dea0df90d50327588933eeb7de748fb31485ad45 (diff) | |
download | PeerTube-b0f4204266057316c11fc034da0ce86a212dc0b3.tar.gz PeerTube-b0f4204266057316c11fc034da0ce86a212dc0b3.tar.zst PeerTube-b0f4204266057316c11fc034da0ce86a212dc0b3.zip |
Relax log level
401 is expected when the token has expired
federation issues are not very important
Diffstat (limited to 'server/lib/activitypub/actors/refresh.ts')
-rw-r--r-- | server/lib/activitypub/actors/refresh.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/activitypub/actors/refresh.ts b/server/lib/activitypub/actors/refresh.ts index 0acaa9f62..8ce2cd5d9 100644 --- a/server/lib/activitypub/actors/refresh.ts +++ b/server/lib/activitypub/actors/refresh.ts | |||
@@ -48,7 +48,7 @@ async function doRefresh <T extends MActorFull | MActorAccountChannelId> (option | |||
48 | const { actorObject } = await fetchRemoteActor(actorUrl) | 48 | const { actorObject } = await fetchRemoteActor(actorUrl) |
49 | 49 | ||
50 | if (actorObject === undefined) { | 50 | if (actorObject === undefined) { |
51 | logger.warn('Cannot fetch remote actor in refresh actor.') | 51 | logger.info('Cannot fetch remote actor %s in refresh actor.', actorUrl) |
52 | return { actor, refreshed: false } | 52 | return { actor, refreshed: false } |
53 | } | 53 | } |
54 | 54 | ||
@@ -67,7 +67,7 @@ async function doRefresh <T extends MActorFull | MActorAccountChannelId> (option | |||
67 | return { actor: undefined, refreshed: false } | 67 | return { actor: undefined, refreshed: false } |
68 | } | 68 | } |
69 | 69 | ||
70 | logger.warn('Cannot refresh actor %s.', actor.url, { err, ...lTags() }) | 70 | logger.info('Cannot refresh actor %s.', actor.url, { err, ...lTags() }) |
71 | return { actor, refreshed: false } | 71 | return { actor, refreshed: false } |
72 | } | 72 | } |
73 | } | 73 | } |