Skip to content

Commit 4cde5e3

Browse files
author
GutoVeronezi
committed
Add RuntimeException check
1 parent e65db10 commit 4cde5e3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4665,6 +4665,8 @@ public VMInstanceVO reConfigureVm(final String vmUuid, final ServiceOffering old
46654665
throw (ConcurrentOperationException)jobResult;
46664666
} else if (jobResult instanceof InsufficientServerCapacityException) {
46674667
throw (InsufficientServerCapacityException)jobResult;
4668+
} else if (jobResult instanceof RuntimeException) {
4669+
throw (RuntimeException)jobResult;
46684670
} else if (jobResult instanceof Throwable) {
46694671
s_logger.error("Unhandled exception", (Throwable)jobResult);
46704672
throw new RuntimeException("Unhandled exception", (Throwable)jobResult);

0 commit comments

Comments
 (0)