Skip to content

Commit e5afe3f

Browse files
GaOrtigaCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b7216bf commit e5afe3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/vm/UserVmManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2718,7 +2718,7 @@ private void updateVmStateForFailedVmCreation(Long vmId, Long hostId) {
27182718
try {
27192719
_itMgr.stateTransitTo(vm, VirtualMachine.Event.OperationFailedToError, null);
27202720
} catch (NoTransitionException e1) {
2721-
logger.error("Error when transitioning state of [{}] due to [{}].", vm, e1.getMessage());
2721+
logger.error("Error when transitioning state of [{}].", vm, e1);
27222722
}
27232723
// destroy associated volumes for vm in error state
27242724
// get all volumes in non destroyed state

0 commit comments

Comments
 (0)