]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix error log
authorChocobozzz <me@florianbigard.com>
Wed, 20 Jan 2021 08:50:22 +0000 (09:50 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 20 Jan 2021 08:50:22 +0000 (09:50 +0100)
server/lib/activitypub/actor.ts

index 086d656f9c975c0a61dcf589348910c912f96956..dbb243d3af6c3c231335116f8f1d33ae3f9824b9 100644 (file)
@@ -104,7 +104,7 @@ async function getOrCreateActorAndServerAndModel (
         const recurseIfNeeded = false
         ownerActor = await getOrCreateActorAndServerAndModel(accountAttributedTo.id, 'all', recurseIfNeeded)
       } catch (err) {
-        logger.error('Cannot get or create account attributed to video channel ' + actor.url)
+        logger.error('Cannot get or create account attributed to video channel ' + actorUrl)
         throw new Error(err)
       }
     }