Replace panics with our logging framework

This commit is contained in:
Gabe Kangas
2021-10-25 00:14:42 -07:00
parent cd15661f08
commit 3f4176d8d6
7 changed files with 14 additions and 11 deletions

View File

@@ -200,7 +200,7 @@ func (s *S3Storage) connectAWS() *session.Session {
func (s *S3Storage) rewriteRemotePlaylist(filePath string) error {
f, err := os.Open(filePath) // nolint
if err != nil {
panic(err)
log.Fatalln(err)
}
p := m3u8.NewMasterPlaylist()