diff --git a/server/src/com/cloud/api/ApiResponseHelper.java b/server/src/com/cloud/api/ApiResponseHelper.java index b74ebf18db8..8cfc8596aff 100755 --- a/server/src/com/cloud/api/ApiResponseHelper.java +++ b/server/src/com/cloud/api/ApiResponseHelper.java @@ -462,11 +462,12 @@ public class ApiResponseHelper implements ResponseGenerator { } if (snapshotInfo == null) { - throw new CloudRuntimeException("Unable to find info for image store snapshot with uuid '"+snapshot.getUuid()+"'"); + s_logger.debug("Unable to find info for image store snapshot with uuid "+snapshot.getUuid()); + snapshotResponse.setRevertable(false); + }else{ + snapshotResponse.setRevertable(snapshotInfo.isRevertable()); } - snapshotResponse.setRevertable(snapshotInfo.isRevertable()); - // set tag information List tags = ApiDBUtils.listByResourceTypeAndId(ResourceObjectType.Snapshot, snapshot.getId()); List tagResponses = new ArrayList();