From f062f8d359529ebcd2c19b3ae50a7415f7edbfcc Mon Sep 17 00:00:00 2001 From: josh <josh@elixxir.io> Date: Thu, 27 May 2021 15:46:05 -0700 Subject: [PATCH] Further clean up debug statements --- api/client.go | 2 +- cmd/root.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/api/client.go b/api/client.go index ce660e1c1..5067b29f1 100644 --- a/api/client.go +++ b/api/client.go @@ -543,7 +543,7 @@ func (c *Client) GetNodeRegistrationStatus() (int, int, error) { // DeleteContact is a function which removes a partner from Client's storage func (c *Client) DeleteContact(partnerId *id.ID) error { - jww.DEBUG.Printf("Deleting contact ID %s", partnerId) + jww.DEBUG.Printf("Deleting contact with ID %s", partnerId) if err := c.storage.E2e().DeletePartner(partnerId); err != nil { return err } diff --git a/cmd/root.go b/cmd/root.go index 3a7b9beef..9585cdf41 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -198,7 +198,6 @@ var rootCmd = &cobra.Command{ // Delete this recipient if viper.GetBool("delete-channel") { - jww.FATAL.Printf("Deleting contact with ID %s", recipientID) deleteChannel(client, recipientID) } -- GitLab