commit 48db4ac132dba1d76ee4b6988637e246906503ce Author: David Fifield david@bamsoftware.com Date: Sun Jan 17 23:22:23 2016 -0800
Log errors from main. --- client/snowflake.go | 2 +- server/snowflake.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/snowflake.go b/client/snowflake.go index 63e3059..ae87f89 100644 --- a/client/snowflake.go +++ b/client/snowflake.go @@ -336,7 +336,7 @@ func main() {
ptInfo, err = pt.ClientSetup(nil) if err != nil { - os.Exit(1) + log.Fatal(err) }
if ptInfo.ProxyURL != nil { diff --git a/server/snowflake.go b/server/snowflake.go index de6cc76..d046998 100644 --- a/server/snowflake.go +++ b/server/snowflake.go @@ -223,7 +223,7 @@ func main() {
ptInfo, err = pt.ServerSetup(nil) if err != nil { - os.Exit(1) + log.Fatal(err) }
webRTCConfig := webrtc.NewConfiguration(webrtc.OptionIceServer("stun:stun.l.google.com:19302"))
tor-commits@lists.torproject.org