diff --git a/connect/webConn.go b/connect/webConn.go index 61c2153cd62b15a22bca238d6c368f7b9e901f93..1a25066b74af3120ba0bb1a24a36d8dfbcca5618 100644 --- a/connect/webConn.go +++ b/connect/webConn.go @@ -202,12 +202,11 @@ func (wc *webConn) IsOnline() (time.Duration, bool) { // IMPORTANT - enables better HTTP(S) discovery, because many browsers block CORS by default. req.Header.Add("js.fetch:mode", "no-cors") - fmt.Println("(GO request): ", fmt.Sprintf("%+v", req)) + jww.TRACE.Println("(GO request): ", fmt.Sprintf("%+v", req)) req = req.WithContext(httptrace.WithClientTrace(req.Context(), trace)) if _, err := client.Do(req); err != nil { - fmt.Println(err) - fmt.Println("(GO error): ", err.Error()) + jww.TRACE.Println("(GO error): ", err.Error()) // TODO: Get more exception strings for major browsers errString := strings.ToLower(err.Error())