From: Marcel van der Veldt Date: Thu, 23 Jan 2025 21:07:14 +0000 (+0100) Subject: Chore: Add exception details when unload of a provider fails X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=85ed2df4082311997ea4c3f0f4d5e0544546beb4;p=music-assistant-server.git Chore: Add exception details when unload of a provider fails --- diff --git a/music_assistant/mass.py b/music_assistant/mass.py index 675d4bc6..9b081c0e 100644 --- a/music_assistant/mass.py +++ b/music_assistant/mass.py @@ -568,7 +568,9 @@ class MusicAssistant: try: await provider.unload(is_removed) except Exception as err: - LOGGER.warning("Error while unload provider %s: %s", provider.name, str(err)) + LOGGER.warning( + "Error while unloading provider %s: %s", provider.name, str(err), exc_info=err + ) finally: self._providers.pop(instance_id, None) await self._update_available_providers_cache()