mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-05 02:51:48 +02:00
Slightly improved conn refused handling.
This commit is contained in:
parent
b833041dc4
commit
362f15f9fa
1 changed files with 1 additions and 1 deletions
|
|
@ -188,9 +188,9 @@ class BaseSiteAdapter(Configurable):
|
|||
try:
|
||||
return self._decode(self._fetchUrlRaw(url,parameters))
|
||||
except u2.HTTPError, he:
|
||||
excpt=he
|
||||
if he.code == 404:
|
||||
logger.warn("Caught an exception reading URL: %s Exception %s."%(unicode(url),unicode(he)))
|
||||
excpt=he
|
||||
break # break out on 404
|
||||
except Exception, e:
|
||||
excpt=e
|
||||
|
|
|
|||
Loading…
Reference in a new issue