Log errors from main.

This commit is contained in:
David Fifield 2016-01-17 23:22:23 -08:00
parent 726ad2bfb9
commit 48db4ac132
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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"))