Commit fec6bb89 authored by Daniel Seybold's avatar Daniel Seybold

minor fix for improved logging

parent f911e91b
Pipeline #52884 passed with stage
in 7 minutes and 42 seconds
......@@ -203,10 +203,10 @@ final class ApplicationDeployer {
LOGGER.info("Checking component instance " + instance.getRemoteId() + "//" + instance.getId());
VirtualMachine virtualmachine = colUser.getController(VirtualMachine.class).get(instance.getVirtualMachine());
if(RemoteState.ERROR.equals(virtualmachine.getRemoteState())){
throw new ColosseumUserException("ApplicationInstance cannot become ready, virtualmachine " + virtualmachine + " in error state");
throw new ColosseumUserException("ApplicationInstance cannot become ready, virtualmachine " + virtualmachine.getId() + " in error state");
}
if(RemoteState.ERROR.equals(instance.getRemoteState())){
throw new ColosseumUserException("ApplicationInstance cannot become ready, instance " + instance + " in error state");
throw new ColosseumUserException("ApplicationInstance cannot become ready, instance " + instance.getId() + " in error state");
}
if(!RemoteState.OK.equals(instance.getRemoteState())){
ret = null;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment