mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: add directory path to error message
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
committed by
Bo Chen
parent
f9c134471a
commit
9d4408ba76
@@ -27,7 +27,7 @@ pub fn url_to_path(url: &str) -> std::result::Result<PathBuf, MigratableError> {
|
|||||||
|
|
||||||
if !path.is_dir() {
|
if !path.is_dir() {
|
||||||
return Err(MigratableError::MigrateSend(anyhow!(
|
return Err(MigratableError::MigrateSend(anyhow!(
|
||||||
"Destination is not a directory"
|
"Destination is not a directory: {path:?}"
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user