Skip to content

Commit

Permalink
Merge branch 'master' into certification
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed Jul 16, 2018
2 parents d3fd62a + 1845a3b commit ebe9b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/helper_cert.go
Expand Up @@ -55,7 +55,7 @@ func loadCertificateFromFile(cmd *cobra.Command, c *config.Config) *tls.Certific

cert, err := tls.LoadX509KeyPair(certPath, keyPath)
if err != nil {
c.GetLogger().Warn("Could not load x509 key pair: %s", cert)
c.GetLogger().WithError(errors.WithStack(err)).Warn("Could not load x509 key pair, will use self-issued certificate instead.")
return nil
}
return &cert
Expand Down

0 comments on commit ebe9b61

Please sign in to comment.