From 97a215528bbe160e31471206bb51be7dbd3ea673 Mon Sep 17 00:00:00 2001 From: Benjamin Wenger <ben@elixxir.ioo> Date: Tue, 15 Dec 2020 18:13:14 -0800 Subject: [PATCH] fixed error handling for stopNetworkFollower --- cmd/root.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index fe5b53e03..94c96e686 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -206,7 +206,8 @@ var rootCmd = &cobra.Command{ } } fmt.Printf("Received %d\n", receiveCnt) - client.StopNetworkFollower(1 * time.Second) + err = client.StopNetworkFollower(1 * time.Second) + fmt.Printf("Failed to cleanly close threads: %+v\n", err) }, } -- GitLab