-
Notifications
You must be signed in to change notification settings - Fork 6
When capturing_stdout also print the stdout in case of error #31
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
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
endI 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers