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