Skip to content
Snippets Groups Projects
Commit d95a80ff authored by Josh Brooks's avatar Josh Brooks
Browse files

Add more debugs

parent 911c48dc
No related branches found
No related tags found
2 merge requests!510Release,!395Add debug for multilookup bindings bug
This commit is part of merge request !395. Comments created here will be created in the context of that merge request.
......@@ -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"+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment