log warning as opposed to throwing exception

This commit is contained in:
Pearl Dsilva 2026-03-10 15:44:04 -04:00
parent 45c3819fb2
commit 276916a7b4
1 changed files with 1 additions and 1 deletions

View File

@ -2309,7 +2309,7 @@ public class KVMStorageProcessor implements StorageProcessor {
if (path == null) {
path = details != null ? details.get(DiskTO.IQN) : null;
if (path == null) {
throw new CloudRuntimeException("The 'path' or 'iqn' field must be specified.");
logger.warn("The 'path' or 'iqn' field must be specified.");
}
}
}