Catch extra errors (timeout).

master
pictuga 2013-03-29 20:06:31 +01:00
parent f734fb2623
commit 05b5bc7783
1 changed files with 1 additions and 1 deletions

2
morss
View File

@ -61,7 +61,7 @@ for item in items:
else:
log("no match")
except urllib2.HTTPError, error:
except (urllib2.HTTPError, urllib2.URLError) as error:
log(error)
log("http error")