From 6d4dfd7433c90c3edab8c2199a767a7cb3dbe090 Mon Sep 17 00:00:00 2001
From: Jake Taylor <jake@elixxir.io>
Date: Wed, 6 Jul 2022 12:44:55 -0500
Subject: [PATCH] more cleanup

---
 connectClient/main.go | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/connectClient/main.go b/connectClient/main.go
index 5000ed2..a4ccd7c 100644
--- a/connectClient/main.go
+++ b/connectClient/main.go
@@ -3,7 +3,6 @@ package main
 
 import (
 	"errors"
-	"fmt"
 	jww "github.com/spf13/jwalterweatherman"
 	"gitlab.com/elixxir/client/catalog"
 	"gitlab.com/elixxir/client/xxdk"
@@ -103,7 +102,7 @@ func main() {
 	networkFollowerTimeout := 5 * time.Second
 	err = baseClient.StartNetworkFollower(networkFollowerTimeout)
 	if err != nil {
-		fmt.Printf("Failed to start network follower: %+v", err)
+		jww.FATAL.Panicf("Failed to start network follower: %+v", err)
 	}
 
 	// Set up a wait for the network to be connected
@@ -170,10 +169,10 @@ func main() {
 	// Send a message to the server----------------------------------------------------
 
 	// Test message
-	msgBody := "If this message is sent successfully, we'll have established first contact with aliens."
+	msgBody := "If this message is sent successfully, we'll have established contact with the server."
 	roundIDs, messageID, timeSent, err := handler.SendE2E(catalog.XxMessage, []byte(msgBody), params.Base)
 	if err != nil {
-		fmt.Printf("Failed to send message: %+v", err)
+		jww.FATAL.Panicf("Failed to send message: %+v", err)
 	}
 	jww.INFO.Printf("Message %v sent in RoundIDs: %+v at %v", messageID, roundIDs, timeSent)
 
-- 
GitLab