From d95a80ff5c2704ea6019ecbfde98e3fcab769a43 Mon Sep 17 00:00:00 2001
From: joshemb <josh@elixxir.io>
Date: Thu, 22 Sep 2022 11:50:45 -0700
Subject: [PATCH] Add more debugs

---
 bindings/ud.go | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bindings/ud.go b/bindings/ud.go
index ad20d9e09..737e30d81 100644
--- a/bindings/ud.go
+++ b/bindings/ud.go
@@ -484,6 +484,9 @@ func MultiLookupUD(e2eID int, udContact []byte, cb UdMultiLookupCallback,
 		return err
 	}
 
+	mar, _ := json.Marshal(idList)
+	jww.INFO.Printf("MULTILOOKUP DEBUG idList: %s", mar)
+
 	var p single.RequestParams
 	err = json.Unmarshal(singleRequestParamsJSON, &p)
 	if err != nil {
@@ -500,6 +503,7 @@ func MultiLookupUD(e2eID int, udContact []byte, cb UdMultiLookupCallback,
 			}
 		}
 		go func(localID *id.ID) {
+			jww.INFO.Printf("MULTILOOKUP DEBUG looking up ID %s", localID)
 			_, _, err := ud.Lookup(user.api, c, callback, localID, p)
 			if err != nil {
 				respCh <- lookupResp{
@@ -520,7 +524,7 @@ func MultiLookupUD(e2eID int, udContact []byte, cb UdMultiLookupCallback,
 			response := <-respCh
 
 			mar, _ := json.Marshal(response)
-			jww.DEBUG.Printf("MULTILOOKUP DEBUG: \n"+
+			jww.DEBUG.Printf("MULTILOOKUP DEBUG (responses): \n"+
 				"response: %s\n"+
 				"responseJSON: %s\n"+
 				"response ID: %s\n"+
-- 
GitLab