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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
9c32d668
Commit
9c32d668
authored
Jun 14, 2022
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Add better log message
parent
7a4a3ebb
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!510
Release
,
!235
Verify sends for auth messages
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/root.go
+5
-2
5 additions, 2 deletions
cmd/root.go
with
5 additions
and
2 deletions
cmd/root.go
+
5
−
2
View file @
9c32d668
...
@@ -284,14 +284,17 @@ var rootCmd = &cobra.Command{
...
@@ -284,14 +284,17 @@ var rootCmd = &cobra.Command{
// Monitor rounds for results
// Monitor rounds for results
err
=
client
.
GetCmix
()
.
GetRoundResults
(
roundTimeout
,
f
,
rid
)
err
=
client
.
GetCmix
()
.
GetRoundResults
(
roundTimeout
,
f
,
rid
)
if
err
!=
nil
{
if
err
!=
nil
{
jww
.
DEBUG
.
Printf
(
"Could not verify messages were sent successfully, resending messages..."
)
jww
.
DEBUG
.
Printf
(
"Could not verify "
+
"confirmation message for relationship with %s were sent "
+
"successfully, resending messages..."
,
recipientID
)
continue
continue
}
}
select
{
select
{
case
<-
retryChan
:
case
<-
retryChan
:
// On a retry, go to the top of the loop
// On a retry, go to the top of the loop
jww
.
DEBUG
.
Printf
(
"Messages were not sent successfully, resending messages..."
)
jww
.
DEBUG
.
Printf
(
"Confirmation message for relationship with %s "
+
"were not sent successfully, resending messages..."
,
recipientID
)
continue
continue
case
<-
done
:
case
<-
done
:
// Close channels on verification success
// Close channels on verification success
...
...
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