await cleanupNormalLive(video, streamingPlaylist)
}
- const fullVideo = await VideoModel.loadAndPopulateAccountAndServerAndTags(video.id)
- return federateVideoIfNeeded(fullVideo, false, undefined)
+ try {
+ const fullVideo = await VideoModel.loadAndPopulateAccountAndServerAndTags(video.id)
+ return federateVideoIfNeeded(fullVideo, false, undefined)
+ } catch (err) {
+ logger.warn('Cannot federate live after cleanup', { videoId: video.id, err })
+ }
}
const expect = chai.expect
-describe('Test live', function () {
+describe('Test live socket messages', function () {
let servers: PeerTubeServer[] = []
before(async function () {