Skip to content

Commit

Permalink
revert stderr output change for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jshook committed Apr 22, 2021
1 parent 2a7a0e5 commit 55ef39e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -72,7 +72,7 @@ public static void main(String[] args) {
String error = ScenarioErrorHandler.handle(e, false);
// Commented for now, as the above handler should do everything needed.
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.out.flush();
Expand Down
Expand Up @@ -39,7 +39,7 @@ public void testExitStatusOnBadParam() {
"badparam"
);
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);
}

Expand Down

0 comments on commit 55ef39e

Please sign in to comment.