Remind user of precise session log (#2091)

This commit is contained in:
Dave Fisher
2024-11-19 16:40:50 -08:00
committed by GitHub
parent f59c4e1e17
commit 6c5bc8dcc1

View File

@@ -138,7 +138,8 @@ public class NBCLI implements Function<String[], Integer>, NBLabeledElement {
final int result = NBCLIErrorHandler.handle(e, showStackTraces, NBCLI.version);
// Commented for now, as the above handler should do everything needed.
if (result != 0) System.err.println("Scenario stopped due to error. See logs for details.");
if (result != 0) System.err.println("Scenario stopped due to error. See logs for details. Session log is '"+
NBCLI.loggerConfig.getLogfileLocation()+"'");
System.err.flush();
System.out.flush();
return result;