diff --git a/connect/authCallbacks.go b/connect/authCallbacks.go index d8bda8d1d7489cc021435fb2e2b4bdfd21ef0a82..4588557b0a58fbb89623d4a46f988b4c495d4362 100644 --- a/connect/authCallbacks.go +++ b/connect/authCallbacks.go @@ -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) diff --git a/connect/connect.go b/connect/connect.go index 5794cbbe6707938186ad0938499638a516ccf33f..ba87dc91873e5d3153e38c60474d42b2f3e23cbc 100644 --- a/connect/connect.go +++ b/connect/connect.go @@ -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()) } }