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
9e16f851
Commit
9e16f851
authored
Jun 14, 2021
by
Richard T. Carback III
Browse files
Options
Downloads
Patches
Plain Diff
Guard against nil reports
parent
76d9645d
No related branches found
No related tags found
1 merge request
!23
Release
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
bindings/client.go
+5
-1
5 additions, 1 deletion
bindings/client.go
with
5 additions
and
1 deletion
bindings/client.go
+
5
−
1
View file @
9e16f851
...
@@ -208,8 +208,12 @@ func (c *Client) StartNetworkFollower(clientError ClientError, timeoutMS int) er
...
@@ -208,8 +208,12 @@ func (c *Client) StartNetworkFollower(clientError ClientError, timeoutMS int) er
go
func
()
{
go
func
()
{
for
report
:=
range
errChan
{
for
report
:=
range
errChan
{
if
report
==
nil
{
jww
.
WARN
.
Printf
(
"Received nil report!
\n
"
)
}
else
{
go
clientError
.
Report
(
report
.
Source
,
report
.
Message
,
report
.
Trace
)
go
clientError
.
Report
(
report
.
Source
,
report
.
Message
,
report
.
Trace
)
}
}
}
}()
}()
return
nil
return
nil
}
}
...
...
This diff is collapsed.
Click to expand it.
Sydney Anne Erickson
@sydney_anne
mentioned in commit
0d7c1df7
·
Jul 15, 2021
mentioned in commit
0d7c1df7
mentioned in commit 0d7c1df7d270b81774fe756d022af7c3639efb58
Toggle commit list
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