Fix plexWatch db importer.

Always return None on exception in http handler.
Increase websocket retry counts.
This commit is contained in:
Tim 2015-09-27 20:48:10 +02:00
parent 16b20976b6
commit 6e2fa9a3b4
3 changed files with 11 additions and 9 deletions

View file

@ -81,10 +81,11 @@ class HTTPHandler(object):
logger.warn(u"Failed to access uri endpoint %s with error %s" % (uri, e))
return None
except Exception, e:
logger.warn(u"Failed to access uri endpoint %s. Is your server maybe accepting SSL connections only?" % uri)
logger.warn(u"Failed to access uri endpoint %s. Is your server maybe accepting SSL connections only? %s" % (uri, e))
return None
except:
logger.warn(u"Failed to access uri endpoint %s with Uncaught exception." % uri)
return None
if request_status == 200:
if output_format == 'dict':