When capturing_stdout:true is set and the flutter command fails, we also need to know what the stdout contained in order to understand the context of the issue.
unless wait_thread.value.success? || (ignore_error == true)
UI.shell_error!(<<-ERROR)
The following command has failed:
$ #{command}
[#{wait_thread.value}]
#{errors_thread.value}
Command output:
#[output]
ERROR
end
ignore_error
end
I could also imagine to configure this with a parameter.
This behaviour is a bit annoying when running command on the CI, and errors can not be reproduced locally.
When
capturing_stdout:trueis set and the flutter command fails, we also need to know what the stdout contained in order to understand the context of the issue.I could also imagine to configure this with a parameter.
This behaviour is a bit annoying when running command on the CI, and errors can not be reproduced locally.