bug 8009: return null instead of exception when the vm is stuck in STARTING

status 8009: resolved fixed
This commit is contained in:
Chiradeep Vittal 2011-01-14 15:13:34 -08:00
parent 42950f2e8b
commit f932ebf58f
1 changed files with 2 additions and 1 deletions

View File

@ -1888,7 +1888,8 @@ public class UserVmManagerImpl implements UserVmManager, UserVmService, Manager
if (status) {
return _vmDao.findById(vmId);
} else {
throw new CloudRuntimeException("Failed to reboot vm with id: " + vmId);
s_logger.warn("Failed to reboot vm with id: " + vmId);
return null;
}
}