Skip to content

Commit

Permalink
Better error description
Browse files Browse the repository at this point in the history
  • Loading branch information
TheQuantumPhysicist committed Oct 4, 2024
1 parent caf4dd7 commit b57aa50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hasher/options/k12_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ impl TryFrom<BTreeMap<String, String>> for K12Options {
.cloned()
.unwrap_or(DEFAULT_OUTPUT_SIZE.to_string())
.parse()
.context("While parsing output-size")?;
.context(format!("While parsing option `{OUTPUT_SIZE_KEY}`"))?;

Ok(Self { output_size })
}
Expand Down

0 comments on commit b57aa50

Please sign in to comment.