aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/job-queue')
-rw-r--r--server/lib/job-queue/handlers/video-live-ending.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/server/lib/job-queue/handlers/video-live-ending.ts b/server/lib/job-queue/handlers/video-live-ending.ts
index 79aa547ba..7607267f8 100644
--- a/server/lib/job-queue/handlers/video-live-ending.ts
+++ b/server/lib/job-queue/handlers/video-live-ending.ts
@@ -244,6 +244,10 @@ async function cleanupLiveAndFederate (options: {
244 await cleanupNormalLive(video, streamingPlaylist) 244 await cleanupNormalLive(video, streamingPlaylist)
245 } 245 }
246 246
247 const fullVideo = await VideoModel.loadAndPopulateAccountAndServerAndTags(video.id) 247 try {
248 return federateVideoIfNeeded(fullVideo, false, undefined) 248 const fullVideo = await VideoModel.loadAndPopulateAccountAndServerAndTags(video.id)
249 return federateVideoIfNeeded(fullVideo, false, undefined)
250 } catch (err) {
251 logger.warn('Cannot federate live after cleanup', { videoId: video.id, err })
252 }
249} 253}