From 4a1dadd48f0490e238c8ceba9c3ef033d453852a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Mon, 9 Feb 2026 15:17:17 +0100 Subject: [PATCH] small improvment in error reporting in test process creation --- src/testium/interpreter/process.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/testium/interpreter/process.py b/src/testium/interpreter/process.py index cf8ca2f..9107a78 100644 --- a/src/testium/interpreter/process.py +++ b/src/testium/interpreter/process.py @@ -350,6 +350,10 @@ Is the python exec path correct ?""" res = {cmd: self.__cmds[cmd](**args)} elif args is None: res = {cmd: self.__cmds[cmd]()} + else: + raise ETUMRuntimeError("Test process control command malformed") + except ETUMRuntimeError as e: + res = (None, str(e)) except: res = (None, "function unknown or call failed") except: