We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93c3e01 commit d57705bCopy full SHA for d57705b
src/coverup/utils.py
@@ -62,7 +62,7 @@ async def subprocess_run(args: str, check: bool = False, timeout: T.Optional[int
62
else:
63
output, _ = await process.communicate()
64
65
- except asyncio.TimeoutError:
+ except (asyncio.TimeoutError, asyncio.exceptions.TimeoutError):
66
process.terminate()
67
await process.wait()
68
if timeout:
0 commit comments