Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4928c68

Browse files
committed
one more thing
1 parent 789dd6c commit 4928c68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def getPage(**kwargs):
205205
except socket.timeout:
206206
page, responseHeaders = None, None
207207
warnMsg = "connection timed out while trying "
208-
warnMsg += "to get error page information"
208+
warnMsg += "to get error page information (%d)" % e.code
209209
logger.warn(warnMsg)
210210
return None, None
211211
code = e.code

0 commit comments

Comments
 (0)