diff --git a/pkg/api/playlist_play.go b/pkg/api/playlist_play.go index 9bfcf1532fa..3be185b2273 100644 --- a/pkg/api/playlist_play.go +++ b/pkg/api/playlist_play.go @@ -16,7 +16,7 @@ func populateDashboardsById(dashboardByIds []int64) ([]m.PlaylistDashboardDto, e if len(dashboardByIds) > 0 { dashboardQuery := m.GetDashboardsQuery{DashboardIds: dashboardByIds} if err := bus.Dispatch(&dashboardQuery); err != nil { - return result, errors.New("Playlist not found") //TODO: dont swallow error + return result, err } for _, item := range *dashboardQuery.Result {