typo fixes

This commit is contained in:
Jonathan Shook 2021-04-21 18:25:16 -05:00
parent f544ecb72a
commit b1afbe331f

View File

@ -69,11 +69,12 @@ public class NBCLI {
NBCLI cli = new NBCLI("eb"); NBCLI cli = new NBCLI("eb");
cli.run(args); cli.run(args);
} catch (Exception e) { } catch (Exception e) {
String error = ScenarioErrorHandler.handle(e, true); String error = ScenarioErrorHandler.handle(e, false);
if (error != null) { // Commented for now, as the above handler should do everything needed.
System.err.println(error); // if (error != null) {
} // System.err.println("Scenario stopped due to error above.");
System.err.flush(); // }
// System.err.flush();
System.out.flush(); System.out.flush();
System.exit(2); System.exit(2);
} }