[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [snowflake/master] Add a log messages when failing to open a listener.



commit af70d49e9699450158a3c3bd80746ba5f73d7b37
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits