write listen error to log

pull/981/head
Darien Raymond 7 years ago
parent 169b901c2d
commit 3ff570a050
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -102,7 +102,12 @@ func Listen(ctx context.Context, address net.Address, port net.Port, handler int
}
listener.server = server
go server.ListenAndServeTLS("", "")
go func() {
err := server.ListenAndServeTLS("", "")
if err != nil {
newError("stoping serving TLS").Base(err).WriteToLog()
}
}()
return listener, nil
}

Loading…
Cancel
Save