We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e473f1e commit 280ecb9Copy full SHA for 280ecb9
pymyq/request.py
@@ -171,9 +171,10 @@ async def _send_request(
171
await self._get_useragent()
172
173
except ClientError as err:
174
- if err.errno == 54 and attempt == 0:
+ if err.errno in (54, 104) and attempt == 0:
175
_LOGGER.debug(
176
- "Received error status 54, connection reset. Will refresh user agent."
+ "Received error status %s, connection reset. Will refresh user agent.",
177
+ err.errno,
178
)
179
180
else:
0 commit comments