Skip to content

Commit 60a8906

Browse files
committed
RHINENG-20967: add more candlepin debugging
1 parent f47b63c commit 60a8906

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

manager/controllers/template_systems_update.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ func callCandlepin(ctx context.Context, owner string, request *candlepin.Consume
195195
resp, err := candlepinClient.Request(&ctx, http.MethodPut, candlepinEnvConsumersURL, request, &candlepinResp)
196196
statusCode := utils.TryGetStatusCode(resp)
197197
utils.LogDebug("request", *request, "candlepin_url", candlepinEnvConsumersURL,
198-
"status_code", statusCode, "err", err)
198+
"status_code", statusCode, "err", err,
199+
"environments", request.EnvironmentIDs, "systems", request.ConsumerUuids)
199200
if err != nil {
200201
err = errors.Wrap(candlepin.ErrCandlepin, err.Error())
201202
} else if statusCode != http.StatusOK && statusCode != http.StatusNoContent {

0 commit comments

Comments
 (0)