From 9c50493bbfecec60ea2e17b26ab39992ceb78b52 Mon Sep 17 00:00:00 2001 From: Antoine Bertin Date: Sun, 21 Aug 2011 20:21:36 +0200 Subject: [PATCH] Change some logging when encoutering issues connecting SABnzbd --- headphones/sab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headphones/sab.py b/headphones/sab.py index 6174aca6..d7763378 100644 --- a/headphones/sab.py +++ b/headphones/sab.py @@ -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: