diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-01-12 11:41:12 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-01-12 11:41:12 +0100 |
| commit | cae24ba81d95638b7e17625b562eb6a2a34e961e (patch) | |
| tree | f1822ad50a4f9d50d4e1d50111cd50638fe01c63 | |
| parent | 677bca872e31e295aeba0a14fde5b4ec81983358 (diff) | |
| download | tidal-dl-ng-cae24ba81d95638b7e17625b562eb6a2a34e961e.tar.gz | |
🛠️ Ruff errors refactored.
| -rw-r--r-- | tidal_dl_ng/metadata.py | 6 |
1 files 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: |
