mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Log errors from main.
This commit is contained in:
parent
726ad2bfb9
commit
48db4ac132
2 changed files with 2 additions and 2 deletions
|
@ -336,7 +336,7 @@ func main() {
|
||||||
|
|
||||||
ptInfo, err = pt.ClientSetup(nil)
|
ptInfo, err = pt.ClientSetup(nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
os.Exit(1)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if ptInfo.ProxyURL != nil {
|
if ptInfo.ProxyURL != nil {
|
||||||
|
|
|
@ -223,7 +223,7 @@ func main() {
|
||||||
|
|
||||||
ptInfo, err = pt.ServerSetup(nil)
|
ptInfo, err = pt.ServerSetup(nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
os.Exit(1)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
webRTCConfig := webrtc.NewConfiguration(webrtc.OptionIceServer("stun:stun.l.google.com:19302"))
|
webRTCConfig := webrtc.NewConfiguration(webrtc.OptionIceServer("stun:stun.l.google.com:19302"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue