aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vid-automation/src/main/java/vid/automation/test/services/SimulatorApi.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-automation/src/main/java/vid/automation/test/services/SimulatorApi.java b/vid-automation/src/main/java/vid/automation/test/services/SimulatorApi.java
index 087449624..4fede294d 100644
--- a/vid-automation/src/main/java/vid/automation/test/services/SimulatorApi.java
+++ b/vid-automation/src/main/java/vid/automation/test/services/SimulatorApi.java
@@ -130,7 +130,7 @@ public class SimulatorApi {
presets.forEach(
preset-> {
try {registerToSimulatorAndAssertSuccess(preset.getClass().getCanonicalName(), preset.generateScenario());}
- catch (RuntimeException e) {
+ catch (Throwable e) {
throw new RuntimeException("Failed to register preset "+preset.getClass().getName(), e);
}
}