From 3f9823c61021ec53fb0af257c4677dfe1736e00d Mon Sep 17 00:00:00 2001
From: Emile <git@emile.space>
Date: Thu, 3 Feb 2022 21:49:45 +0100
Subject: more info if in_path prefix could not be stripped

---
 src/main.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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() {
-- 
cgit 1.4.1