Browse Source

Improve error message

pull/1782/head
Ethan Frey 7 years ago
parent
commit
9601e48ab4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      keys/cryptostore/encoder.go

+ 1
- 1
keys/cryptostore/encoder.go View File

@ -55,7 +55,7 @@ func (e secretbox) Decrypt(saltBytes []byte, encBytes []byte, passphrase string)
} }
privKey, err = crypto.PrivKeyFromBytes(privKeyBytes) privKey, err = crypto.PrivKeyFromBytes(privKeyBytes)
if err != nil { if err != nil {
return crypto.PrivKey{}, errors.Wrap(err, "Couldn't get privKey from bytes")
return crypto.PrivKey{}, errors.Wrap(err, "Private Key")
} }
return privKey, nil return privKey, nil
} }


Loading…
Cancel
Save