diff options
author | 2019-08-12 18:46:53 +0300 | |
---|---|---|
committer | 2019-08-12 18:46:53 +0300 | |
commit | 50ced1c69f4d5f6d06379450ea745f6ee146e7ab (patch) | |
tree | 82bb87bbe07aedacb77523ded2a736581c8a67b0 /vid-automation/src/main/java | |
parent | c939ac9eba0dba965fd0e61839676d8906ffeeeb (diff) |
catch any Throwable when failed to register to simulator
Issue-ID: VID-378
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I553f8bf1fa657ce792ef690db95471de6f3658b3
Diffstat (limited to 'vid-automation/src/main/java')
-rw-r--r-- | vid-automation/src/main/java/vid/automation/test/services/SimulatorApi.java | 2 |
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); } } |