mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Fix some exception handling.
This commit is contained in:
parent
7a5cad1a31
commit
857e9e9d1c
3 changed files with 45 additions and 32 deletions
|
@ -87,7 +87,7 @@ class HTTPHandler(object):
|
|||
return output
|
||||
else:
|
||||
logger.warn(u"Failed to access uri endpoint %s. Status code %r" % (uri, request_status))
|
||||
return []
|
||||
return None
|
||||
else:
|
||||
logger.debug(u"HTTP request made but no enpoint given.")
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue