mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
HTTP 400: Log response body when it can't be decoded as json
This commit is contained in:
parent
8a9b69f2f5
commit
146bd401bf
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class HTTP(object):
|
|||
try:
|
||||
LOG.warning(r.json())
|
||||
except Exception:
|
||||
pass
|
||||
LOG.warning(r.text)
|
||||
|
||||
elif r.status_code == 500: # log and ignore.
|
||||
LOG.error("--[ 500 response ] %s", error)
|
||||
|
|
Loading…
Reference in a new issue