/** * GET /api/rectification/cases/[caseId] used to return 4xx/5xx with no log. * Every non-200 now emits one JSON warn so a silent client miss is still * visible in the server log (BUG-969). Fields stay non-PII. */ export function warnRectificationCaseGet(input: Readonly<{ caseId: string; status: number; code: string; reason: string; }>): void { console.warn(JSON.stringify({ event: "rectification_case_get_failed", case_id: input.caseId, status: input.status, code: input.code, reason: input.reason, })); }