Skip to content

Commit d405056

Browse files
committed
better error wording
1 parent 8d5eddc commit d405056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/cert-tools/src/cli_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl GeneratePkcs12 {
8181
impl CertInput {
8282
pub fn read(&self) -> Result<Vec<X509>, snafu::Whatever> {
8383
let read_file_fn = |path| {
84-
fs::read(path).with_whatever_context(|_| format!("failed to read file from {self:?}"))
84+
fs::read(path).with_whatever_context(|_| format!("failed to read from file {self:?}"))
8585
};
8686

8787
match self {

0 commit comments

Comments
 (0)