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 c7bbc5f commit 22c2b83Copy full SHA for 22c2b83
src/cmd.rs
@@ -54,9 +54,13 @@ pub fn subcommand(
54
55
if *archive != Archive::Ignored {
56
if let Some(archive) = &args.archive {
57
- hubris.load(archive).context("failed to load archive")?;
+ hubris.load(archive).with_context(|| {
58
+ format!("failed to load archive \"{}\"", archive)
59
+ })?;
60
} else if let Some(dump) = &args.dump {
- hubris.load_dump(dump).context("failed to load dump")?;
61
+ hubris.load_dump(dump).with_context(|| {
62
+ format!("failed to load dump \"{}\"", dump)
63
64
}
65
66
0 commit comments