From 677bca872e31e295aeba0a14fde5b4ec81983358 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Fri, 12 Jan 2024 11:20:10 +0100 Subject: 🛠️ Ruff errors refactored. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tidal_dl_ng/api.py') diff --git a/tidal_dl_ng/api.py b/tidal_dl_ng/api.py index e601a6d..0679c80 100644 --- a/tidal_dl_ng/api.py +++ b/tidal_dl_ng/api.py @@ -102,5 +102,7 @@ try: if respond.status_code == 200: content = respond.json()["files"]["tidal-api-key.json"]["content"] __API_KEYS__ = json.loads(content) -except: +except Exception as e: + # TODO: Implement proper logging. + print(e) pass -- cgit v1.3.1