From cae24ba81d95638b7e17625b562eb6a2a34e961e Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Fri, 12 Jan 2024 11:41:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20Ruff=20errors=20refacto?= =?UTF-8?q?red.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/metadata.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tidal_dl_ng/metadata.py b/tidal_dl_ng/metadata.py index 3f06432..44ec57e 100644 --- a/tidal_dl_ng/metadata.py +++ b/tidal_dl_ng/metadata.py @@ -160,9 +160,9 @@ class Metadata: if url: try: result = requests.get(url, timeout=REQUESTS_TIMEOUT_SEC).content - except: - # TODO: Implement logging. - pass + except Exception as e: + # TODO: Implement propper logging. + print(e) elif path_file: try: with open(path_file, "rb") as f: