diff --git a/pkg/actionsmetrics/event_reader.go b/pkg/actionsmetrics/event_reader.go index 76f11daf3e..d81a9d694f 100644 --- a/pkg/actionsmetrics/event_reader.go +++ b/pkg/actionsmetrics/event_reader.go @@ -238,8 +238,6 @@ func (reader *EventReader) fetchAndParseWorkflowJobLogs(ctx context.Context, e * return nil, err } - println("jobLogs.Body", jobLogs.Body) - exitCode := "null" var ( @@ -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 }