diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/lib/activitypub/actors/refresh.ts | 4 | ||||
-rw-r--r-- | server/lib/activitypub/actors/shared/url-to-object.ts | 2 | ||||
-rw-r--r-- | server/middlewares/auth.ts | 2 |
3 files changed, 4 insertions, 4 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 | } |
diff --git a/server/lib/activitypub/actors/shared/url-to-object.ts b/server/lib/activitypub/actors/shared/url-to-object.ts index 982d52b79..7bc37f1ff 100644 --- a/server/lib/activitypub/actors/shared/url-to-object.ts +++ b/server/lib/activitypub/actors/shared/url-to-object.ts | |||
@@ -47,7 +47,7 @@ async function fetchActorTotalItems (url: string) { | |||
47 | 47 | ||
48 | return body.totalItems || 0 | 48 | return body.totalItems || 0 |
49 | } catch (err) { | 49 | } catch (err) { |
50 | logger.warn('Cannot fetch remote actor count %s.', url, { err }) | 50 | logger.info('Cannot fetch remote actor count %s.', url, { err }) |
51 | return 0 | 51 | return 0 |
52 | } | 52 | } |
53 | } | 53 | } |
diff --git a/server/middlewares/auth.ts b/server/middlewares/auth.ts index ad3b24ab2..904d47efd 100644 --- a/server/middlewares/auth.ts +++ b/server/middlewares/auth.ts | |||
@@ -14,7 +14,7 @@ function authenticate (req: express.Request, res: express.Response, next: expres | |||
14 | return next() | 14 | return next() |
15 | }) | 15 | }) |
16 | .catch(err => { | 16 | .catch(err => { |
17 | logger.warn('Cannot authenticate.', { err }) | 17 | logger.info('Cannot authenticate.', { err }) |
18 | 18 | ||
19 | return res.fail({ | 19 | return res.fail({ |
20 | status: err.status, | 20 | status: err.status, |