kvm: Do not print the whole exception when pool is not found in libvirt

This causes the logs to be filled with Exceptions which aren't nice for
users to read
This commit is contained in:
Wido den Hollander 2014-08-20 14:00:29 +02:00
parent 1ed0fe4ee7
commit ab7c1f34d6

View File

@ -390,7 +390,7 @@ public class LibvirtStorageAdaptor implements StorageAdaptor {
return pool;
} catch (LibvirtException e) {
s_logger.debug("can't get storage pool", e);
s_logger.debug("Could not find storage pool " + uuid + " in libvirt");
throw new CloudRuntimeException(e.toString(), e);
}
}