Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
969fd774
Commit
969fd774
authored
2 years ago
by
Jake Taylor
Browse files
Options
Downloads
Patches
Plain Diff
improve connect prints
parent
8e6742de
No related branches found
No related tags found
1 merge request
!510
Release
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
connect/authCallbacks.go
+1
-1
1 addition, 1 deletion
connect/authCallbacks.go
connect/connect.go
+2
-2
2 additions, 2 deletions
connect/connect.go
with
3 additions
and
3 deletions
connect/authCallbacks.go
+
1
−
1
View file @
969fd774
...
...
@@ -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
confirm
ed"
,
jww
.
DEBUG
.
Printf
(
"Connection auth
confirm
for %s
receiv
ed"
,
requestor
.
ID
.
String
())
defer
a
.
authState
.
DeletePartnerCallback
(
requestor
.
ID
)
...
...
This diff is collapsed.
Click to expand it.
connect/connect.go
+
2
−
2
View file @
969fd774
...
...
@@ -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
au
th
request for %s confirm
ed"
,
jww
.
INFO
.
Printf
(
"Connection
wi
th
%s establish
ed"
,
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
())
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment