On 30/05/2024 16:47, Juraj Linkeš wrote:
@@ -129,21 +130,27 @@ class RemoteCommandExecutionError(DTSError):
severity: ClassVar[ErrorSeverity] = ErrorSeverity.REMOTE_CMD_EXEC_ERR
#: The executed command.
command: str
+_command_stderr: str
_command_return_code: int
-
> diff --git a/dts/framework/exception.py b/dts/framework/exception.py
> index cce1e0231a..50724acdf2 100644
> --- a/dts/framework/exception.py
> +++ b/dts/framework/exception.py
> @@ -2,6 +2,7 @@
> # Copyright(c) 2010-2014 Intel Corporation
> # Copyright(c) 2022-2023 PANTHEON.tech s.r.o.
> # Co
Store the stderr of an executed command in RemoteCommandExecutionError.
Consequently, when the exception is logged the error message includes
the stderr.
Signed-off-by: Luca Vizzarro
Reviewed-by: Paul Szczepanek
---
dts/framework/exception.py | 13 ++---
dts/framewor
3 matches
Mail list logo