We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c9b4d6 commit fb6386bCopy full SHA for fb6386b
1 file changed
gix-archive/src/write.rs
@@ -172,7 +172,7 @@ fn append_zip_entry<W: std::io::Write + std::io::Seek>(
172
let path = path.to_str().map_err(|_| {
173
Error::Io(std::io::Error::new(
174
std::io::ErrorKind::InvalidData,
175
- format!("Invalid UTF-8 in entry path: {path}"),
+ format!("Invalid UTF-8 in entry path: {path:?}"),
176
))
177
})?;
178
@@ -221,7 +221,10 @@ fn append_zip_entry<W: std::io::Write + std::io::Seek>(
221
let target = buf.as_bstr().to_str().map_err(|_| {
222
223
224
- "Invalid UTF-8 in symlink target",
+ format!(
225
+ "Invalid UTF-8 in symlink target for entry '{symlink_path}': {:?}",
226
+ buf.as_bstr()
227
+ ),
228
229
230
0 commit comments