This forces anyhow to give more context to the stringified error, which
helps tremendously when trying to make sense of these messages.
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
Tested-By: Stefan Hanreich <s.hanreich@proxmox.com>
Reviewed-By: Stefan Hanreich <s.hanreich@proxmox.com>
Commands::Cleanup(args) => cleanup(args),
};
if let Err(err) = res {
- eprintln!("{err}");
+ eprintln!("{err:#}");
std::process::exit(1);
}
}
let fs = get_fs(args.filesystem)?;
if let Err(e) = bind_umount() {
- eprintln!("{e}")
+ eprintln!("{e:#}")
}
match fs {
.arg(product.to_string())
.output();
match res {
- Err(e) => bail!("{e}"),
+ Err(e) => bail!("{e:#}"),
Ok(output) => {
if output.status.success() {
println!(