mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Format the establishDataChannel error log message like other log messages.
It was sticking out in the context of other log messages. 2020/04/30 22:39:10 WebRTC: DataChannel created. 2020/04/30 22:39:20 establishDataChannel: timeout waiting for DataChannel.OnOpen 2020/04/30 22:39:20 WebRTC: closing PeerConnection 2020/04/30 22:39:20 WebRTC: Closing 2020/04/30 22:39:20 WebRTC: WebRTC: Could not establish DataChannel Retrying in 10s...
This commit is contained in:
parent
72cfb96ede
commit
c8293a5de3
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ func (c *WebRTCPeer) connect(config *webrtc.Configuration, broker *BrokerChannel
|
|||
}
|
||||
c.transport, err = c.establishDataChannel()
|
||||
if err != nil {
|
||||
log.Printf("establishDataChannel: %v", err)
|
||||
log.Printf("WebRTC: establishing data channel: %v", err)
|
||||
// nolint: golint
|
||||
return errors.New("WebRTC: Could not establish DataChannel")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue