about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 6f24c4f..9a310b0 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -31,7 +31,8 @@ fn main() -> std::io::Result<()> {
         println!("[i] {}", path.as_os_str().to_str().unwrap());
 
         let stripped_path = path.strip_prefix(&in_path)
-            .expect("could not strip the in_path prefix");
+            .expect(format!(
+                "could not strip the in_path prefix: {:?}", in_path).as_str());
 
         // copy images and other files to the output folder
         if path.is_file() {