commit af70d49e9699450158a3c3bd80746ba5f73d7b37 Author: David Fifield david@bamsoftware.com Date: Fri Jan 20 17:56:17 2017 -0800
Add a log messages when failing to open a listener. --- server/server.go | 1 + 1 file changed, 1 insertion(+)
diff --git a/server/server.go b/server/server.go index 1b26a70..8025ad3 100644 --- a/server/server.go +++ b/server/server.go @@ -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 }
tor-commits@lists.torproject.org