chore(repo): always log error for runCommandUntil (#16748)
This commit is contained in:
parent
2163d720e6
commit
3307188975
@ -247,15 +247,13 @@ export function runCommandUntil(
|
||||
p.stderr?.on('data', checkCriteria);
|
||||
p.on('exit', (code) => {
|
||||
if (!complete) {
|
||||
if (isVerboseE2ERun()) {
|
||||
logError(
|
||||
`Original output:`,
|
||||
output
|
||||
.split('\n')
|
||||
.map((l) => ` ${l}`)
|
||||
.join('\n')
|
||||
);
|
||||
}
|
||||
logError(
|
||||
`Original output:`,
|
||||
output
|
||||
.split('\n')
|
||||
.map((l) => ` ${l}`)
|
||||
.join('\n')
|
||||
);
|
||||
rej(`Exited with ${code}`);
|
||||
} else {
|
||||
res(p);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user