Skip to content
Snippets Groups Projects
Commit 592a8e0d authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Add debug prints on the callback

parent 75863e2f
No related branches found
No related tags found
3 merge requests!233Modify restore to call user-defined bindings callback. Add Sent requests to...,!231Revert "Update store to print changes to the partners list",!192Hotfix/improved restore
......@@ -89,7 +89,11 @@ func RestoreContactsFromBackup(backupPartnerIDs []byte, client *Client,
errStr = myErr.Error()
}
if lookupCB != nil {
jww.INFO.Printf("Calling lookupCB(%+v, %+v)",
bindingsContact, errStr)
lookupCB.Callback(bindingsContact, errStr)
} else {
jww.WARN.Printf("nil external lookup callback")
}
}
......
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