Skip to content
Snippets Groups Projects
Commit 969fd774 authored by Jake Taylor's avatar Jake Taylor
Browse files

improve connect prints

parent 8e6742de
No related branches found
No related tags found
1 merge request!510Release
......@@ -44,7 +44,7 @@ func getClientAuthCallback(confirm Callback, e2e clientE2e.Handler,
// Confirm will be called when an auth Confirm message is processed.
func (a clientAuthCallback) Confirm(requestor contact.Contact,
_ receptionID.EphemeralIdentity, _ rounds.Round) {
jww.DEBUG.Printf("Connection auth request for %s confirmed",
jww.DEBUG.Printf("Connection auth confirm for %s received",
requestor.ID.String())
defer a.authState.DeletePartnerCallback(requestor.ID)
......
......@@ -110,11 +110,11 @@ func Connect(recipient contact.Contact, user *xxdk.E2e,
return nil, errors.Errorf("Unable to complete connection "+
"with partner %s", recipient.ID.String())
}
jww.DEBUG.Printf("Connection auth request for %s confirmed",
jww.INFO.Printf("Connection with %s established",
recipient.ID.String())
return newConnection, nil
case <-timeout.C:
return nil, errors.Errorf("Connection request with "+
return nil, errors.Errorf("Connection request for "+
"partner %s timed out", recipient.ID.String())
}
}
......
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