X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Factivitypub%2Factors%2Frefresh.ts;h=6d8428d6627578f8e4155ce2b0aed421bbb73378;hb=57c318653e6a8ae9d0c2541a62853fb8dd582d5d;hp=8ce2cd5d93b3a8088c12cee5c893662a0563e85b;hpb=b0f4204266057316c11fc034da0ce86a212dc0b3;p=github%2FChocobozzz%2FPeerTube.git 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 (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 }) }