No need for error logging, already done in urlopen
This commit is contained in:
@@ -58,8 +58,7 @@ class Sabnzbd(Downloader):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
data = self.urlopen(url, params = {"nzbfile": (nzb_filename, nzb_file)}, multipart = True)
|
data = self.urlopen(url, params = {"nzbfile": (nzb_filename, nzb_file)}, multipart = True)
|
||||||
except Exception:
|
except:
|
||||||
log.error("Unable to connect to SAB: %s" % traceback.format_exc())
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
result = data.strip()
|
result = data.strip()
|
||||||
|
|||||||
Reference in New Issue
Block a user