We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d38bd8e commit 3901fc3Copy full SHA for 3901fc3
src/cdrw.rs
@@ -52,16 +52,15 @@ impl IsoWriter {
52
.arg(path.as_ref())
53
.arg(self.tmpdir.as_ref())
54
.output()
55
- .with_context(|| {
56
- format!(
57
- "failed to create ISO \"{}\" from dir \"{}\"",
58
- path.as_ref().display(),
59
- self.tmpdir.as_ref().display()
60
- )
61
- })?;
+ .context("failed to execute mkisofs, check PATH")?;
62
63
if !output.status.success() {
64
- warn!("command failed with status: {}", output.status);
+ warn!(
+ "failed to create ISO \"{}\" from dir \"{}\" with status {}",
+ path.as_ref().display(),
+ self.tmpdir.as_ref().display(),
+ output.status,
+ );
65
warn!("stderr: \"{}\"", String::from_utf8_lossy(&output.stderr));
66
return Err(anyhow!(format!(
67
"Failed to make ISO {} from directory {}",
0 commit comments