Skip to content

Commit c0bce6b

Browse files
committed
Log certificate ID in ARI errors
1 parent a7dc0b7 commit c0bce6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

acme/ari.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ func (c *Client) GetRenewalInfo(ctx context.Context, leafCert *x509.Certificate)
157157
c.Logger.LogAttrs(ctx, slog.LevelWarn, "error getting ARI response",
158158
slog.Any("error", err),
159159
slog.Int("attempt", i),
160+
slog.String("cert_id", certID),
160161
slog.Any("names", leafCert.DNSNames))
161162
}
162163
continue

0 commit comments

Comments
 (0)