diff --git a/cli/src/util/tar.rs b/cli/src/util/tar.rs index 248f63f9720..0a5496411f7 100644 --- a/cli/src/util/tar.rs +++ b/cli/src/util/tar.rs @@ -10,6 +10,7 @@ use std::io::Seek; use std::path::{Path, PathBuf}; use tar::Archive; +use super::errors::wrapdbg; use super::io::ReportCopyProgress; fn should_skip_first_segment(file: &fs::File) -> Result { @@ -93,7 +94,7 @@ where entry .unpack(&path) - .map_err(|e| wrap(e, format!("error unpacking {}", path.display())))?; + .map_err(|e| wrapdbg(e, format!("error unpacking {}", path.display())))?; Ok(path) }) .collect::, WrappedError>>()?;