You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.debug("Snapshot [{}] is in {} state on {} data store ID: {}.", snapshotUuid, snapshotDataStoreVO.getState(), storeRole, snapshotDataStoreVO.getDataStoreId());
2033
-
}
2031
+
logger.debug("Snapshot [{}] is in {} state on {} data store ID: {}.", snapshotUuid, snapshotDataStoreVO.getState(), storeRole, snapshotDataStoreVO.getDataStoreId());
logger.debug("Snapshot [{}] in {} state found on {} data store [{}], it will be deleted.", snapshotUuid, snapshotDataStoreVO.getState(), storeRole, snapshotInfo.getDataStore().getUuid());
2038
-
}
2034
+
logger.debug("Snapshot [{}] in {} state found on {} data store [{}], it will be deleted.", snapshotUuid, snapshotDataStoreVO.getState(), storeRole, snapshotInfo.getDataStore().getUuid());
2039
2035
_snapshotService.deleteSnapshot(snapshotInfo);
2040
-
} elseif (logger.isDebugEnabled()) {
2036
+
} else {
2041
2037
logger.debug("Did not find snapshot [{}] in {} state on {} data store ID: {}.", snapshotUuid, snapshotDataStoreVO.getState(), storeRole, snapshotDataStoreVO.getDataStoreId());
2042
2038
}
2043
2039
} catch (Exceptione) {
2044
-
logger.error("Failed to delete snapshot [{}] from storage due to: [{}].", snapshot, e.getMessage());
2045
-
if (logger.isDebugEnabled()) {
2046
-
logger.debug("Failed to delete snapshot [{}] from storage.", snapshot, e);
2047
-
}
2040
+
logger.error("Failed to delete snapshot [{}] from storage due to: [{}].", snapshot, e.getMessage(), e);
0 commit comments