From 78b7a4131910a21a11ffa0ba6f083bd3d9e11809 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Sat, 1 Dec 2018 11:57:20 +0100 Subject: [PATCH] Review comments: @melekes suggestions Co-Authored-By: Liamsi --- cmd/tendermint/commands/show_validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tendermint/commands/show_validator.go b/cmd/tendermint/commands/show_validator.go index a40e6d62..a79fb8bd 100644 --- a/cmd/tendermint/commands/show_validator.go +++ b/cmd/tendermint/commands/show_validator.go @@ -20,7 +20,7 @@ func showValidator(cmd *cobra.Command, args []string) { privValidator := privval.LoadOrGenFilePV(config.PrivValidatorFile()) key, err := privValidator.GetPubKey() if err != nil { - fmt.Fprintf(os.Stderr, "Could not read public key from FilePV %v", privValidator) + fmt.Fprintf(os.Stderr, "Failed to read pubkey from private validator file (%s): %v", config.PrivValidatorFile(), err) os.Exit(1) } pubKeyJSONBytes, _ := cdc.MarshalJSON(key)