Skip to content

Commit

Permalink
stakepooldclient: continue loop on error
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeGruffins committed Aug 16, 2019
1 parent 2100f89 commit 52e9676
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stakepooldclient/stakepooldclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ func (s *StakepooldManager) GetStakeInfo() (*pb.GetStakeInfoResponse, error) {
resp, err := client.GetStakeInfo(context.Background(), &pb.GetStakeInfoRequest{})
if err != nil {
log.Errorf("GetStakeInfo RPC failed on stakepoold instance %d: %v", i, err)
continue
}
s.cachedStakeInfo = resp
s.cachedStakeInfoTimer = now.Add(cacheTimerStakeInfo)
Expand Down

0 comments on commit 52e9676

Please sign in to comment.