diff --git a/src/sprites/exec.py b/src/sprites/exec.py index 22b3cec..ae52649 100644 --- a/src/sprites/exec.py +++ b/src/sprites/exec.py @@ -179,9 +179,7 @@ async def _run_async(self) -> int: async with asyncio.timeout(self.timeout): return await run_ws_command(self) except asyncio.TimeoutError: - raise TimeoutError( - f"command timed out after {self.timeout}s", timeout=self.timeout - ) from None + raise TimeoutError(f"command timed out after {self.timeout}s") from None else: return await run_ws_command(self)