Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Early return in case of a connection error (#389)
#### Summary The usual pattern in go is to do `if err != nil { // do something }`. The current code is a bit confusing to read as it does `if err == nil { return err }`. A smaller change can be to do `if err == nil { return nil }` ---
- Loading branch information