elevate scenario shutting down error to ERROR

This commit is contained in:
Jonathan Shook 2022-01-05 15:34:17 -06:00
parent c5b4afe719
commit acb3efa10d

View File

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