diff --git a/app/Playlist.php b/app/Playlist.php index 216b0cb1..8d8ac4ec 100644 --- a/app/Playlist.php +++ b/app/Playlist.php @@ -226,11 +226,7 @@ class Playlist extends Model continue; } - try { - $trackFile = $track->trackFiles()->where('format', $format)->firstOrFail(); - } catch (ModelNotFoundException $e) { - throw $e; - } + $trackFile = $track->trackFiles()->where('format', $format)->firstOrFail(); if ($trackFile->expires_at != null && File::exists($trackFile->getFile())) { $cachedCount++;