From ef44443a2dac249a55bd781979e40558f33ae466 Mon Sep 17 00:00:00 2001
From: jbhusson <jonah@elixxir.io>
Date: Fri, 2 Sep 2022 17:39:40 -0400
Subject: [PATCH] Convert prints to trace logs

---
 connect/webConn.go | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/connect/webConn.go b/connect/webConn.go
index 61c2153..1a25066 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())
-- 
GitLab