Do not panic if when updatePlaylist is called with a non-existent ID.
Fix #2876
This commit is contained in:
@@ -40,7 +40,7 @@ func (r *playlistRepository) Tracks(playlistId string, refreshSmartPlaylist bool
|
||||
|
||||
pls, err := r.Get(playlistId)
|
||||
if err != nil {
|
||||
log.Error(r.ctx, "Error getting playlist's tracks - THIS SHOULD NOT HAPPEN!", "playlistId", playlistId, err)
|
||||
log.Warn(r.ctx, "Error getting playlist's tracks", "playlistId", playlistId, err)
|
||||
return nil
|
||||
}
|
||||
if refreshSmartPlaylist {
|
||||
|
||||
Reference in New Issue
Block a user