mirror of
https://github.com/progval/irctest.git
synced 2025-04-06 07:19:54 +00:00
Log unexpected exit codes
This commit is contained in:
@ -112,7 +112,7 @@ class _BaseController:
|
|||||||
assert self.proc
|
assert self.proc
|
||||||
self.proc.poll()
|
self.proc.poll()
|
||||||
if self.proc.returncode is not None:
|
if self.proc.returncode is not None:
|
||||||
raise ProcessStopped()
|
raise ProcessStopped(f"process returned {self.proc.returncode}")
|
||||||
|
|
||||||
def kill_proc(self) -> None:
|
def kill_proc(self) -> None:
|
||||||
"""Terminates the controlled process, waits for it to exit, and
|
"""Terminates the controlled process, waits for it to exit, and
|
||||||
|
Reference in New Issue
Block a user