revert stderr output change for now

This commit is contained in:
Jonathan Shook 2021-04-21 19:22:54 -05:00
parent 2a7a0e5183
commit 55ef39e2a5
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ public class NBCLI {
String error = ScenarioErrorHandler.handle(e, false); String error = ScenarioErrorHandler.handle(e, false);
// Commented for now, as the above handler should do everything needed. // Commented for now, as the above handler should do everything needed.
if (error != null) { if (error != null) {
System.err.println("Scenario stopped due to error above."); System.err.println("Scenario stopped due to error. See logs for details.");
} }
System.err.flush(); System.err.flush();
System.out.flush(); System.out.flush();

View File

@ -39,7 +39,7 @@ public class ExitStatusIntegrationTests {
"badparam" "badparam"
); );
String stderr = result.getStderrData().stream().collect(Collectors.joining("\n")); String stderr = result.getStderrData().stream().collect(Collectors.joining("\n"));
assertThat(stderr).contains("unrecognized option:badparam"); assertThat(stderr).contains("Scenario stopped due to error");
assertThat(result.exitStatus).isEqualTo(2); assertThat(result.exitStatus).isEqualTo(2);
} }