Skip to content

Commit

Permalink
Fix missing fmt argument in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay authored and nickray committed Nov 6, 2021
1 parent efd7ae4 commit 5b61554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/provisioner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl App {
return Err(anyhow!("data too long (8192 byte limit)"));
}
if path.as_bytes().len() > 128 {
return Err(anyhow!("path {} too long (128 byte limit)"));
return Err(anyhow!("path {} too long (128 byte limit)", path));
}

self.call_with(Instruction::Select.into(), &Self::PATH_ID)
Expand Down

0 comments on commit 5b61554

Please sign in to comment.