Chore: Extend exception info
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 5 Feb 2025 10:34:39 +0000 (11:34 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 5 Feb 2025 10:34:39 +0000 (11:34 +0100)
music_assistant/helpers/audio.py

index 80969150778da6f1a133d6325624af861df93d6b..592188da8d4c1c6943c06104386a0cb99ea90132 100644 (file)
@@ -659,7 +659,7 @@ async def resolve_radio_stream(mass: MusicAssistant, url: str) -> tuple[str, Str
                 stream_type = StreamType.HLS
 
     except Exception as err:
-        LOGGER.warning("Error while parsing radio URL %s: %s", url, err)
+        LOGGER.warning("Error while parsing radio URL %s: %s", url, str(err))
         return (url, stream_type)
 
     result = (resolved_url, stream_type)