Skip to content
Snippets Groups Projects
Commit 0d7c1df7 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Revert "Guard against nil reports"

This reverts commit 9e16f851.
parent 9e16f851
No related branches found
No related tags found
1 merge request!23Release
...@@ -208,12 +208,8 @@ func (c *Client) StartNetworkFollower(clientError ClientError, timeoutMS int) er ...@@ -208,12 +208,8 @@ 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
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment