X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Factivitypub%2Factor.ts;h=45dd4443dad8191d60d47437b9cd46e6489aab3f;hb=601527d7953a83d6ad08dbb2ed8ac02851beaf1e;hp=d37a695a725dc7c3abf44d889382a9dea8b18d76;hpb=7361c401b17415931f25f3a2137ba22a06a6a4ed;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/activitypub/actor.ts b/server/lib/activitypub/actor.ts index d37a695a7..45dd4443d 100644 --- a/server/lib/activitypub/actor.ts +++ b/server/lib/activitypub/actor.ts @@ -56,7 +56,7 @@ async function getOrCreateActorAndServerAndModel ( // We don't have this actor in our database, fetch it on remote if (!actor) { const { result } = await fetchRemoteActor(actorUrl) - if (result === undefined) throw new Error('Cannot fetch remote actor.') + if (result === undefined) throw new Error('Cannot fetch remote actor ' + actorUrl) // Create the attributed to actor // In PeerTube a video channel is owned by an account