Skip to content
Snippets Groups Projects
Commit af70d49e authored by David Fifield's avatar David Fifield
Browse files

Add a log messages when failing to open a listener.

parent 42cdd530
No related branches found
No related tags found
No related merge requests found
......@@ -271,6 +271,7 @@ func main() {
ln, err = startListenerTLS("tcp", bindaddr.Addr, certFilename, keyFilename)
}
if err != nil {
log.Printf("error opening listener: %s", err)
pt.SmethodError(bindaddr.MethodName, err.Error())
continue
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment