print request failure details in expect_urlopen()