Add more verbose error indicator for scenario

This commit is contained in:
Jonathan Shook 2020-09-10 09:37:53 -05:00
parent 5a3ac64977
commit 5f5c08d77d

View File

@ -263,7 +263,8 @@ public class Scenario implements Callable<ScenarioResult> {
System.out.flush();
} catch (Exception e) {
this.state = State.Errored;
this.scenarioController.forceStopScenario(5000,false);
logger.warn("Error in scenario, shutting down.");
this.scenarioController.forceStopScenario(5000, false);
throw new RuntimeException(e);
} finally {
if (this.state==State.Running) {