aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scrapersources/postliste-halden3
1 files changed, 2 insertions, 1 deletions
diff --git a/scrapersources/postliste-halden b/scrapersources/postliste-halden
index 0fd6df2..dc7a589 100644
--- a/scrapersources/postliste-halden
+++ b/scrapersources/postliste-halden
@@ -18,6 +18,7 @@ import resource
import sys
import urlparse
import urllib
+import urllib2
import re
lazycache=scraperwiki.swimport('lazycache')
postlistelib=scraperwiki.swimport('postliste-python-lib')
@@ -45,7 +46,7 @@ def process_pdf(parser, pdfurl, errors):
except IndexError, e:
errors.append(e)
except urllib2.HTTPError, e:
- errors.append(e)
+ errors.append(str(e) + " " + pdfurl)
def process_page_queue(parser, errors):
try: