Fix logging

This commit is contained in:
Chocobozzz 2024-09-16 16:13:41 +02:00
parent 11d377684e
commit d794988ebd
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ export abstract class APVideoAbstractBuilder {
protected async getOrCreateVideoChannelFromVideoObject () {
const channel = await findOwner(this.videoObject.id, this.videoObject.attributedTo, 'Group')
if (!channel) throw new Error('Cannot find associated video channel to video ' + this.videoObject.url)
if (!channel) throw new Error('Cannot find associated video channel to video ' + this.videoObject.id)
return getOrCreateAPActor(channel.id, 'all')
}

View File

@ -307,7 +307,7 @@ export async function muxToMergeVideoFiles (options: {
await new FFmpegContainer(getFFmpegCommandWrapperOptions('vod')).mergeInputs({
inputs,
output,
logError: true,
logError: false,
// Include a cover if this is an audio file
coverPath