Skip to content

Commit f84bcda

Browse files
committed
Catch another exception in the reachability test.
- Legacy-Id: 857
1 parent 59e30eb commit f84bcda

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ietf/tests.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,11 @@ def testUrlsReachability(self):
321321
code = "200"
322322
except urllib.HTTPError, e:
323323
code = str(e.code)
324+
except urllib.URLError, e:
325+
note("Exception for URL '%s'" % url)
326+
traceback.print_exc()
327+
self.client = Client()
328+
code = "500"
324329
except httplib.InvalidURL, e:
325330
note("Exception for URL '%s'" % url)
326331
traceback.print_exc()

0 commit comments

Comments
 (0)