revert stderr output change for now

This commit is contained in:
Jonathan Shook 2021-04-21 18:55:48 -05:00
parent afee41ec6d
commit 2a7a0e5183

View File

@ -71,10 +71,10 @@ public class NBCLI {
} catch (Exception e) {
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.flush();
if (error != null) {
System.err.println("Scenario stopped due to error above.");
}
System.err.flush();
System.out.flush();
System.exit(2);
}