Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Remove panic and log error if file no longer exists. Closes #31

Gabe Kangas423dc7539556
diff --git a/core/playlist/monitor.go b/core/playlist/monitor.go
index 4b34192787..7e9d50be95 100644
--- a/core/playlist/monitor.go
+++ b/core/playlist/monitor.go
@@ -84,8 +84,7 @@ func StartVideoContentMonitor(storage models.ChunkStorageProvider) error {
go func() {
newObjectPath, err := storage.Save(path.Join(config.Config.PrivateHLSPath, segment.RelativeUploadPath), 0)
if err != nil {
- log.Println("failed to save the file to the chunk storage")
- panic(err)
+ log.Errorln("failed to save the file to the chunk storage.", err)
}
newObjectPathChannel <- newObjectPath