mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
httppeer: unify hint message for PeerTransportError
Another raising PeerTransportError for "incomplete response" in httppeer.py uses this (changed) hint message. This unification reduces cost of translation.
This commit is contained in:
parent
1ff2143781
commit
60903a6565
@ -80,7 +80,7 @@ def _wraphttpresponse(resp):
|
||||
except httplib.HTTPException as e:
|
||||
raise error.PeerTransportError(
|
||||
_('HTTP request error (%s)') % e,
|
||||
hint=_('this may be an intermittent failure; '
|
||||
hint=_('this may be an intermittent network failure; '
|
||||
'if the error persists, consider contacting the '
|
||||
'network or server operator'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user