mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56: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
|
||||
|
||||
action = request['type']
|
||||
request.pop('type')
|
||||
request.pop('ssl')
|
||||
request.pop('type', None)
|
||||
request.pop('ssl', None)
|
||||
|
||||
log.debug("ConnectionManager requesting %s" % request)
|
||||
|
||||
|
@ -187,7 +187,7 @@ class ConnectionManager(object):
|
|||
r.raise_for_status()
|
||||
|
||||
except Exception as e: # Elaborate on exceptions?
|
||||
log.error(e)
|
||||
log.exception(e)
|
||||
raise
|
||||
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue