From 5acfaaa75012b6ea00479ac81f687373c43da27d Mon Sep 17 00:00:00 2001 From: jbhusson <jonah@elixxir.io> Date: Mon, 23 Aug 2021 10:09:28 -0400 Subject: [PATCH] better log messages in printcontact --- cmd/ud.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ud.go b/cmd/ud.go index afd4428e6..4fa083d32 100644 --- a/cmd/ud.go +++ b/cmd/ud.go @@ -243,10 +243,10 @@ func init() { } func printContact(c contact.Contact) { - jww.DEBUG.Printf("Printing client: %+v", c) + jww.DEBUG.Printf("Printing contact: %+v", c) cBytes := c.Marshal() if len(cBytes) == 0 { - jww.ERROR.Print("Marshaled client has a size of 0.") + jww.ERROR.Print("Marshaled contact has a size of 0.") } else { jww.DEBUG.Printf("Printing marshaled contact of size %d.", len(cBytes)) } -- GitLab