diff --git a/common/src/util/log-ingest.ts b/common/src/util/log-ingest.ts index ea108bd0fa..88cc9e6c6a 100644 --- a/common/src/util/log-ingest.ts +++ b/common/src/util/log-ingest.ts @@ -72,7 +72,7 @@ export function buildLogRows(params: { } return { id: crypto.randomUUID(), - timestamp: isNaN(ts.getTime()) ? now : ts, + timestamp: Number.isNaN(ts.getTime()) ? now : ts, level: record.level, source, service,