mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Improve some error handling of http requests.
Provide more helpful error messages. Some visual fixes.
This commit is contained in:
parent
473ea7513c
commit
21fca0ef89
8 changed files with 70 additions and 38 deletions
|
@ -699,7 +699,7 @@ class WebInterface(object):
|
|||
try:
|
||||
pms_connect = pmsconnect.PmsConnect()
|
||||
result = pms_connect.get_image(img, width, height)
|
||||
logger.info('Image proxy queried. Content type is %s' % result[0])
|
||||
logger.debug(u'Image proxy queried. Content type is %s' % result[0])
|
||||
cherrypy.response.headers['Content-type'] = result[0]
|
||||
return result[1]
|
||||
except:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue