Skip to content

Commit

Permalink
add cancel call in err from summaryReport
Browse files Browse the repository at this point in the history
  • Loading branch information
Trey Ivy committed Oct 25, 2024
1 parent 3b78847 commit d3d4c49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/api/grpc/bes/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func (c *buildEventChannel) Finalize() error {
summaryReport, err := c.summarizer.FinishProcessing()
if err != nil {
slog.ErrorContext(c.ctx, "FinishProcessing failed", "err", err)
cancel()
return err
}

Expand Down

0 comments on commit d3d4c49

Please sign in to comment.