diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-01-12 11:20:10 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-01-12 11:20:10 +0100 |
| commit | 677bca872e31e295aeba0a14fde5b4ec81983358 (patch) | |
| tree | 05f4eded45a5ba3609af0c22f2120b217190b6c2 /tidal_dl_ng/api.py | |
| parent | 87091fb060ec263c1e9cfa71c086c995c85e65cc (diff) | |
| download | tidal-dl-ng-677bca872e31e295aeba0a14fde5b4ec81983358.tar.gz | |
🛠️ Ruff errors refactored.
Diffstat (limited to 'tidal_dl_ng/api.py')
| -rw-r--r-- | tidal_dl_ng/api.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
