Skip to content

Commit 1c57887

Browse files
authored
Fix lint: do not stringify the unknown warmup error (#1688)
1 parent 1b2509c commit 1c57887

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎apps/cloud/src/server.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,15 +253,14 @@ const warmStartGraph = (env: Env, ctx: ExecutionContext): void => {
253253
ctx,
254254
);
255255
console.log(JSON.stringify({ probe: "warm", ok: true, ms: Date.now() - startedAt }));
256-
} catch (err) {
256+
} catch {
257257
// Advisory only — the request path still loads the graph lazily.
258258
startGraphWarmupStarted = false;
259259
console.log(
260260
JSON.stringify({
261261
probe: "warm",
262262
ok: false,
263263
ms: Date.now() - startedAt,
264-
err: String(err),
265264
}),
266265
);
267266
}

0 commit comments

Comments
 (0)