Skip to content

Commit

Permalink
Fix Group Sentry issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mpass99 authored and MrSerth committed Aug 7, 2024
1 parent 6e7e77d commit b6f6d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/nomad/api_querier.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (nc *nomadAPIClient) Execute(ctx context.Context, runnerID string, cmd stri
case errors.Is(err, context.Canceled):
log.WithContext(ctx).Debug("Execution canceled by context")
return 0, nil
case errors.Is(err, io.ErrUnexpectedEOF):
case errors.Is(err, io.ErrUnexpectedEOF), strings.Contains(err.Error(), io.ErrUnexpectedEOF.Error()):
log.WithContext(ctx).WithError(err).Warn("Unexpected EOF for Execute")
return 0, nil
case strings.Contains(err.Error(), "Unknown allocation"):
Expand Down

0 comments on commit b6f6d8c

Please sign in to comment.