summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/embedded.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/embedded.rs b/src/embedded.rs
index 25dbe64..f65b8ae 100644
--- a/src/embedded.rs
+++ b/src/embedded.rs
@@ -113,6 +113,9 @@ impl EmbeddedFiles {
}
}
- Err(io::Error::from(io::ErrorKind::NotFound))
+ Err(io::Error::new(
+ io::ErrorKind::NotFound,
+ format!("{} not found in the embedded files", path.display()),
+ ))
}
}