]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/actor.ts
Check video channel name is unique on our instance
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / actor.ts
index d37a695a725dc7c3abf44d889382a9dea8b18d76..45dd4443dad8191d60d47437b9cd46e6489aab3f 100644 (file)
@@ -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