diff options
author | Emile <git@emile.space> | 2022-02-03 21:49:45 +0100 |
---|---|---|
committer | Emile <git@emile.space> | 2022-02-03 21:49:45 +0100 |
commit | 3f9823c61021ec53fb0af257c4677dfe1736e00d (patch) | |
tree | 4a3c7d70251ff6ddb5d260be12738de7c524fdb4 | |
parent | a299442fa50d2571f426b396a3d23e0b3f24da7b (diff) |
more info if in_path prefix could not be stripped
-rw-r--r-- | src/main.rs | 3 |
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() { |