Skip to content

Commit 3c2db24

Browse files
committed
Fix load_track
1 parent fe0f8a6 commit 3c2db24

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

librespot/audio/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,8 @@ def load_track(self, track_id_or_track: typing.Union[TrackId,
777777
file = audio_quality_picker.get_file(track.file)
778778
if file is None:
779779
self.logger.fatal(
780-
"Couldn't find any suitable audio file, available")
780+
"Couldn't find any suitable audio file, available: {}".format(track.file))
781+
raise
781782
return self.load_stream(file, track, None, preload, halt_listener)
782783

783784
def pick_alternative_if_necessary(

0 commit comments

Comments
 (0)