From 36a5ea7716e6b1e2452709d37e876efa6a7ccc37 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 18 Sep 2023 13:29:03 +0200 Subject: runner: increase verbosity of nfpvalues exception --- lib/runner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/runner.py b/lib/runner.py index 672a824..13a17d1 100644 --- a/lib/runner.py +++ b/lib/runner.py @@ -690,7 +690,9 @@ class Multipass: universal_newlines=True, ) if res.returncode != 0: - raise RuntimeError(f"make nfpvalues Failure. command = {command}") + raise RuntimeError( + f"'make nfpvalues' exited with a non-zero status of {res.returncode}. command = {command}, stderr = '{res.stderr}', stdout = '{res.stdout}'" + ) return json.loads(res.stdout) def _cached_info(self, opts=list()) -> list: -- cgit v1.2.3