diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-20 09:50:22 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-20 09:50:22 +0100 |
commit | 471251fa14a4878e9e9858a3595ad5c7c93fa38c (patch) | |
tree | 1456e517616c5a9031453353d3df5162998173eb | |
parent | 889b7fd2500407555f90954056a214bb0dfc058f (diff) | |
download | PeerTube-471251fa14a4878e9e9858a3595ad5c7c93fa38c.tar.gz PeerTube-471251fa14a4878e9e9858a3595ad5c7c93fa38c.tar.zst PeerTube-471251fa14a4878e9e9858a3595ad5c7c93fa38c.zip |
Fix error log
-rw-r--r-- | server/lib/activitypub/actor.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/actor.ts b/server/lib/activitypub/actor.ts index 086d656f9..dbb243d3a 100644 --- a/server/lib/activitypub/actor.ts +++ b/server/lib/activitypub/actor.ts | |||
@@ -104,7 +104,7 @@ async function getOrCreateActorAndServerAndModel ( | |||
104 | const recurseIfNeeded = false | 104 | const recurseIfNeeded = false |
105 | ownerActor = await getOrCreateActorAndServerAndModel(accountAttributedTo.id, 'all', recurseIfNeeded) | 105 | ownerActor = await getOrCreateActorAndServerAndModel(accountAttributedTo.id, 'all', recurseIfNeeded) |
106 | } catch (err) { | 106 | } catch (err) { |
107 | logger.error('Cannot get or create account attributed to video channel ' + actor.url) | 107 | logger.error('Cannot get or create account attributed to video channel ' + actorUrl) |
108 | throw new Error(err) | 108 | throw new Error(err) |
109 | } | 109 | } |
110 | } | 110 | } |