Fix certificate error message

This commit is contained in:
Benjamin Jemlich 2011-04-13 18:53:29 +08:00 committed by Mikkel Krautz
parent eb4c442be0
commit f25751d1aa

View file

@ -17,7 +17,7 @@ func NewTLSListener(port int) (rl *tls.Listener) {
// Load the certificate
pemBytes, err := ioutil.ReadFile("grumble.crt")
if err != nil {
log.Printf("Failed to read server.crt:", err)
log.Printf("Failed to read server.crt: %s", err)
return
}