small improvment in error reporting in test process creation

This commit is contained in:
2026-02-09 15:17:17 +01:00
parent 7be413779b
commit 4a1dadd48f

View File

@@ -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: