if (snapshot == null) {
// since this is just used to cleanup leftover bad snapshots, no need to throw exception
s_logger.warn("Could not destroy snapshot " + lastSnapshotUuid + " due to can not find it");
return false;
}
snapshot.destroy(conn);
return true;
} catch (XenAPIException e) {
String msg = "Destroying snapshot: " + lastSnapshotUuid + " failed due to " + e.toString();
s_logger.error(msg, e);
} catch (Exception e) {