mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Add a log messages when failing to open a listener.
This commit is contained in:
parent
42cdd53077
commit
af70d49e96
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue