File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/repl_python_wakatime/backends Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7575 additional_dependencies :
7676 - markdown-it-texmath
7777 - repo : https://github.com/astral-sh/ruff-pre-commit
78- rev : v0.13.3
78+ rev : v0.14.1
7979 hooks :
8080 - id : ruff-check
8181 - id : ruff-format
Original file line number Diff line number Diff line change 1515from threading import Event , Lock , Thread
1616from time import time
1717
18- from aiohttp import ClientSession
18+ from aiohttp import ClientConnectorDNSError , ClientSession
1919from aiohttp .client import ClientTimeout
2020from keyring import get_keyring
2121from keyring .errors import NoKeyringError
@@ -122,6 +122,6 @@ async def send_xp(self) -> str:
122122 text = await resp .text ()
123123 with self .lock :
124124 self .data ["xps" ][0 ]["xp" ] -= xp
125- except TimeoutError as error :
125+ except ( TimeoutError , ClientConnectorDNSError ) as error :
126126 logger .error (error )
127127 return text
You can’t perform that action at this time.
0 commit comments