Skip to content

Commit

Permalink
Debug number 3 (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: kyrylomiro <[email protected]>
  • Loading branch information
kyrylomiro and kyrylomiro authored Mar 5, 2024
1 parent ad6962f commit 5cfbc71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/actionsmetrics/event_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ func (reader *EventReader) fetchAndParseWorkflowJobLogs(ctx context.Context, e *
return nil, err
}

println("jobLogs.Body", jobLogs.Body)

exitCode := "null"

var (
Expand Down Expand Up @@ -306,6 +304,8 @@ func getWithRetry(url string, maxRetries int, retryDelay time.Duration) (*http.R
return nil, err
}

println("bodyBytes", string(bodyBytes))

if len(bodyBytes) != 0 {
return resp, nil
}
Expand Down

0 comments on commit 5cfbc71

Please sign in to comment.