then the app will exit whit a non-0 exit status, but no message describing the error is presented (though it is logged).
This is because the show command is configured to discard regular application output to not interfere with the command output. And that blocks out the error message.
Solution: differentiate betweed std_out and err_out and leave err_out active when std_out is blocked.
When I run
then the app will exit whit a non-0 exit status, but no message describing the error is presented (though it is logged).
This is because the
show
command is configured to discard regular application output to not interfere with the command output. And that blocks out the error message.Solution: differentiate betweed
std_out
anderr_out
and leaveerr_out
active whenstd_out
is blocked.