[tor-commits] [snowflake/master] Add a log messages when failing to open a listener.
dcf at torproject.org
dcf at torproject.org
Sat Jan 21 03:18:14 UTC 2017
commit af70d49e9699450158a3c3bd80746ba5f73d7b37
Author: David Fifield <david at 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
}
More information about the tor-commits
mailing list