bug 10352: fixed the issue. I mistakenly threw an exception when I was not suppose to

This commit is contained in:
Alex Huang 2011-06-17 17:17:39 -07:00
parent 9fa2e68be6
commit 36ee97334b
1 changed files with 3 additions and 1 deletions

View File

@ -513,7 +513,9 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene
return new Ternary<T, ReservationContext, ItWorkVO>(vmGuru.findById(vmId), context, work);
}
} catch (NoTransitionException e) {
throw new CloudRuntimeException(e.getMessage());
if (s_logger.isDebugEnabled()) {
s_logger.debug("Unable to transition into Starting state due to " + e.getMessage());
}
}
if (s_logger.isDebugEnabled()) {