Skip to content

Commit 458d150

Browse files
committed
fix(playlist): remove invalid logging
1 parent e8786b0 commit 458d150

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/api/playlist.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ func LoadPlaylistItemDTOs(id int64) ([]m.PlaylistItemDTO, error) {
9494
func LoadPlaylistItems(id int64) ([]m.PlaylistItem, error) {
9595
itemQuery := m.GetPlaylistItemsByIdQuery{PlaylistId: id}
9696
if err := bus.Dispatch(&itemQuery); err != nil {
97-
log.Warn("itemQuery failed: %v", err)
98-
return nil, errors.New("Playlist not found")
97+
return nil, err
9998
}
10099

101100
return *itemQuery.Result, nil

0 commit comments

Comments
 (0)