style: format probe-cleanup retry code (oxfmt)

This commit is contained in:
Vance Ingalls
2026-07-23 18:43:28 -07:00
parent b8e1015476
commit 5fd28e1149
2 changed files with 4 additions and 7 deletions
@@ -2186,8 +2186,6 @@ describe("closeOrphanedProbeForRetry (probe cleanup before verify-triggered retr
await closeOrphanedProbeForRetry(stubSession, closer, log, "streaming");
expect(log.warn).toHaveBeenCalledTimes(1);
expect((log.warn.mock.calls[0][1] as { error: string }).error).toBe(
"string-only rejection",
);
expect((log.warn.mock.calls[0][1] as { error: string }).error).toBe("string-only rejection");
});
});
@@ -1487,10 +1487,9 @@ export async function closeOrphanedProbeForRetry(
try {
await closer(probe);
} catch (closeErr) {
log.warn(
`[Render] probe close before ${retryContext} retry failed; continuing with retry`,
{ error: closeErr instanceof Error ? closeErr.message : String(closeErr) },
);
log.warn(`[Render] probe close before ${retryContext} retry failed; continuing with retry`, {
error: closeErr instanceof Error ? closeErr.message : String(closeErr),
});
}
}