[tor-commits] [pluggable-transports/snowflake] 11/31: Add Detailed Error Output for datachannelHandler

gitolite role git at cupani.torproject.org
Thu Jun 16 17:03:58 UTC 2022


This is an automated email from the git hooks/post-receive script.

shelikhoo pushed a commit to branch main
in repository pluggable-transports/snowflake.

commit c961b07459cd6fcc9ba40631e41a2108baf554d7
Author: Shelikhoo <xiaokangwang at outlook.com>
AuthorDate: Wed Apr 13 13:42:06 2022 +0100

    Add Detailed Error Output for datachannelHandler
---
 proxy/lib/snowflake.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/lib/snowflake.go b/proxy/lib/snowflake.go
index b2a2be1..7e06c0f 100644
--- a/proxy/lib/snowflake.go
+++ b/proxy/lib/snowflake.go
@@ -326,7 +326,7 @@ func (sf *SnowflakeProxy) datachannelHandler(conn *webRTCConn, remoteAddr net.Ad
 
 	ws, _, err := websocket.DefaultDialer.Dial(u.String(), nil)
 	if err != nil {
-		log.Printf("error dialing relay: %s", err)
+		log.Printf("error dialing relay: %s = %s", u.String(), err)
 		return
 	}
 	wsConn := websocketconn.New(ws)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list