Skip to content

Commit

Permalink
Supress the error message when we kill the process.
Browse files Browse the repository at this point in the history
  • Loading branch information
karajan1001 committed Dec 16, 2022
1 parent 80e11d3 commit b3e538f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dvc_task/proc/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ def wait(self, timeout: Optional[int] = None) -> Optional[int]:
self._proc.wait(timeout=timeout)
except subprocess.TimeoutExpired as exc:
raise TimeoutExpired(exc.cmd, exc.timeout) from exc
except KeyboardInterrupt:
pass
self.returncode = self._proc.returncode
self._close_fds()
self._dump()
Expand Down

0 comments on commit b3e538f

Please sign in to comment.