Fix exception reporting

- Legacy-Id: 701
This commit is contained in:
Henrik Levkowetz 2007-06-27 15:01:05 +00:00
parent 8f54760bc3
commit 05e03aff2b

View file

@ -294,7 +294,7 @@ class UrlTestCase(TestCase):
mfile.close()
note(" 200 %s" % (master))
except urllib.URLError, e:
note(" %s %s" % (e.code, e.url))
note(" Error retrieving %s: %s" % (e.url, e))
goodhtml = None
try:
if goodhtml and response.content: