mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-19 17:55:23 -04:00
Show user message when config KeyError
s
Formatting
This commit is contained in:
parent
8ccf74fd76
commit
0367a04137
5 changed files with 46 additions and 25 deletions
|
@ -489,7 +489,7 @@ class TidalClient(ClientInterface):
|
|||
try:
|
||||
manifest = json.loads(base64.b64decode(resp["manifest"]).decode("utf-8"))
|
||||
except KeyError:
|
||||
raise Exception(resp['userMessage'])
|
||||
raise Exception(resp["userMessage"])
|
||||
|
||||
logger.debug(manifest)
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue