1
0
Fork 0

Fix error log

This commit is contained in:
Chocobozzz 2021-01-20 09:50:22 +01:00
parent 889b7fd250
commit 471251fa14
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -104,7 +104,7 @@ async function getOrCreateActorAndServerAndModel (
const recurseIfNeeded = false const recurseIfNeeded = false
ownerActor = await getOrCreateActorAndServerAndModel(accountAttributedTo.id, 'all', recurseIfNeeded) ownerActor = await getOrCreateActorAndServerAndModel(accountAttributedTo.id, 'all', recurseIfNeeded)
} catch (err) { } 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) throw new Error(err)
} }
} }