diff --git a/cmd/tendermint/commands/show_validator.go b/cmd/tendermint/commands/show_validator.go index a40e6d628..a79fb8bd2 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)