Skip to content

Commit

Permalink
Print cert only in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed Jul 10, 2019
1 parent b555912 commit ebbf394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certs/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func (c *CertificateManager) List(certIDs []string, mode CertificateType) (out [
cert, err = ParsePEMCertificate(rawCert, c.secret)
if err != nil {
c.logger.Error("Error while parsing certificate: ", id, " ", err)
c.logger.Error("Failed certificate: ", string(rawCert))
c.logger.Debug("Failed certificate: ", string(rawCert))
out = append(out, nil)
continue
}
Expand Down

0 comments on commit ebbf394

Please sign in to comment.