From 8fa4d341da2eddb6894b141f393c37c1be902858 Mon Sep 17 00:00:00 2001 From: Tessa Walsh Date: Fri, 22 Mar 2024 16:13:34 -0400 Subject: [PATCH] Add warning with page ts fallback --- src/util/worker.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util/worker.ts b/src/util/worker.ts index ff23fee1..28ea12ef 100644 --- a/src/util/worker.ts +++ b/src/util/worker.ts @@ -307,6 +307,11 @@ export class PageWorker { } if (!opts.data.ts) { + logger.warn( + "Page timestamp not found in WARCs, falling back to current time", + { ...this.logDetails }, + "recorder", + ); opts.data.ts = new Date(); }