PKI: Added error to the error message

This commit is contained in:
vishalnayak 2016-12-19 10:47:29 -05:00
parent 9f60e9f88d
commit ba1cc709bd
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ func (b *backend) pathCAGenerateRoot(
Value: parsedBundle.CertificateBytes,
})
if err != nil {
return nil, fmt.Errorf("Unable to store certificate locally")
return nil, fmt.Errorf("Unable to store certificate locally: %v", err)
}
// For ease of later use, also store just the certificate at a known