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