mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Fix request error
This commit is contained in:
parent
a91c9f1765
commit
e07388085e
1 changed files with 3 additions and 3 deletions
|
@ -176,8 +176,8 @@ class ConnectionManager(object):
|
||||||
request['verify'] = request.get('ssl') or False
|
request['verify'] = request.get('ssl') or False
|
||||||
|
|
||||||
action = request['type']
|
action = request['type']
|
||||||
request.pop('type')
|
request.pop('type', None)
|
||||||
request.pop('ssl')
|
request.pop('ssl', None)
|
||||||
|
|
||||||
log.debug("ConnectionManager requesting %s" % request)
|
log.debug("ConnectionManager requesting %s" % request)
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@ class ConnectionManager(object):
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
|
|
||||||
except Exception as e: # Elaborate on exceptions?
|
except Exception as e: # Elaborate on exceptions?
|
||||||
log.error(e)
|
log.exception(e)
|
||||||
raise
|
raise
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue