Skip to content

Commit 9df0f35

Browse files
committed
add resp_msg to 404 logs
1 parent ca8c6f4 commit 9df0f35

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/deploymentrecord/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ func (c *Client) PostOne(ctx context.Context, record *DeploymentRecord) error {
274274
"attempt", attempt,
275275
"status_code", resp.StatusCode,
276276
"container_name", record.Name,
277+
"resp_msg", string(respBody),
277278
"digest", record.Digest,
278279
)
279280
return &NoArtifactError{err: fmt.Errorf("no attestation found for %s", record.Digest)}

0 commit comments

Comments
 (0)