Skip to content

Commit

Permalink
Merge pull request #161 from hashicorp/jbardin/stopping-recv-loop
Browse files Browse the repository at this point in the history
grpc stream errors are terminal
  • Loading branch information
jbardin committed Nov 6, 2020
2 parents c2aca9f + fa53be6 commit 0c19a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grpc_stdio.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ func (c *grpcStdioClient) Run(stdout, stderr io.Writer) {
status.Code(err) == codes.Canceled ||
status.Code(err) == codes.Unimplemented ||
err == context.Canceled {
c.log.Warn("received EOF, stopping recv loop", "err", err)
c.log.Debug("received EOF, stopping recv loop", "err", err)
return
}

c.log.Error("error receiving data", "err", err)
continue
return
}

// Determine our output writer based on channel
Expand Down

0 comments on commit 0c19a13

Please sign in to comment.