From ce88602cedf8696fa22013ff4f98b5115bbc93f5 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 13 Mar 2020 14:54:12 -0700 Subject: [PATCH] Surface the missing pubkey --- clap-utils/src/keypair.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clap-utils/src/keypair.rs b/clap-utils/src/keypair.rs index 1c210255d7..c5f40f43ac 100644 --- a/clap-utils/src/keypair.rs +++ b/clap-utils/src/keypair.rs @@ -104,7 +104,7 @@ pub fn signer_from_path( } else { Err(std::io::Error::new( std::io::ErrorKind::Other, - "missing signature for supplied pubkey".to_string(), + format!("missing signature for supplied pubkey: {}", pubkey), ) .into()) }