diff options
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r-- | server/lib/activitypub/actors/refresh.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/actors/refresh.ts b/server/lib/activitypub/actors/refresh.ts index 8ce2cd5d9..6d8428d66 100644 --- a/server/lib/activitypub/actors/refresh.ts +++ b/server/lib/activitypub/actors/refresh.ts | |||
@@ -75,7 +75,7 @@ async function doRefresh <T extends MActorFull | MActorAccountChannelId> (option | |||
75 | function getActorUrl (actor: MActorFull) { | 75 | function getActorUrl (actor: MActorFull) { |
76 | return getUrlFromWebfinger(actor.preferredUsername + '@' + actor.getHost()) | 76 | return getUrlFromWebfinger(actor.preferredUsername + '@' + actor.getHost()) |
77 | .catch(err => { | 77 | .catch(err => { |
78 | logger.warn('Cannot get actor URL from webfinger, keeping the old one.', err) | 78 | logger.warn('Cannot get actor URL from webfinger, keeping the old one.', { err }) |
79 | return actor.url | 79 | return actor.url |
80 | }) | 80 | }) |
81 | } | 81 | } |