Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Prevent too much logging

Chocobozzzb127e10e850e
diff --git a/server/core/lib/video-download.ts b/server/core/lib/video-download.ts
index 4be5a9c4e9..1fbb279573 100644
--- a/server/core/lib/video-download.ts
+++ b/server/core/lib/video-download.ts
@@ -76,12 +76,12 @@ export class VideoDownload {
return
}
- logger.warn(`Cannot mux files of video ${this.video.url}`, { err, inputs: this.inputsToLog(), ...lTags(this.video.uuid) })
-
if (err.inputStreamError) {
err.inputStreamError = buildRequestError(err.inputStreamError)
}
+ logger.warn(`Cannot mux files of video ${this.video.url}`, { err, inputs: this.inputsToLog(), ...lTags(this.video.uuid) })
+
throw err
} finally {
this.ffmpegContainer.forceKill()