From f222b32f7214de74145166e2272a748a834f7818 Mon Sep 17 00:00:00 2001 From: Nathan Thomas Date: Fri, 17 Sep 2021 15:13:39 -0700 Subject: [PATCH] Raise for status in TidalClient --- streamrip/clients.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/streamrip/clients.py b/streamrip/clients.py index 490e558..1b27fa5 100644 --- a/streamrip/clients.py +++ b/streamrip/clients.py @@ -1020,6 +1020,7 @@ class TidalClient(Client): item["albums"] = album_resp["items"] item["albums"].extend(ep_resp["items"]) + logger.debug(item) return item def _api_request(self, path: str, params=None) -> dict: @@ -1036,7 +1037,7 @@ class TidalClient(Client): params["countryCode"] = self.country_code params["limit"] = 100 r = self.session.get(f"{TIDAL_BASE}/{path}", params=params) - # r.raise_for_status() + r.raise_for_status() return r.json() def _get_video_stream_url(self, video_id: str) -> str: