Handle an error in searcher.

This commit is contained in:
sbuser
2011-08-09 18:27:35 -05:00
parent 696647b9f0
commit c2092211f8

View File

@@ -453,7 +453,7 @@ def getresultNZB(result):
else:
try:
nzb = urllib2.urlopen(result[2], timeout=20).read()
except:
except urllib2.URLError, e:
logger.warn('Error fetching nzb from url: ' + result[2] + ' %s' % e)
return nzb