Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reporter: Fix io.EOF handling (#3010)
The way the if statement was written, if there is an io.EOF error, then we still first try reading the response object, however, in the io.EOF case it's null, therefore the if statement needs to be swapped around so it would never try to read something on the nil pointer if an io.EOF error is returned.
- Loading branch information