Change some logging when encoutering issues connecting SABnzbd

This commit is contained in:
Antoine Bertin
2011-08-21 20:21:36 +02:00
parent 8ab4442840
commit 9c50493bbf

View File

@@ -86,11 +86,11 @@ def sendNZB(nzb):
f = opener.open(req)
except (EOFError, IOError), e:
logger.info(u"Unable to connect to SAB: ")
logger.error(u"Unable to connect to SAB with URL: %s" % url)
return False
except httplib.InvalidURL, e:
logger.info(u"Invalid SAB host, check your config: ")
logger.error(u"Invalid SAB host, check your config. Current host: %s" % headphones.SAB_HOST)
return False
if f == None: