From 9268ad518125b2b8379d76ef69824c347bb4a9f1 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Fri, 26 Sep 2025 15:00:04 -0700 Subject: [PATCH] Repeat warning message for ETA data --- src/loaders/shuttle/ApiBasedShuttleRepositoryLoader.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/loaders/shuttle/ApiBasedShuttleRepositoryLoader.ts b/src/loaders/shuttle/ApiBasedShuttleRepositoryLoader.ts index 74d6c87..e79dd45 100644 --- a/src/loaders/shuttle/ApiBasedShuttleRepositoryLoader.ts +++ b/src/loaders/shuttle/ApiBasedShuttleRepositoryLoader.ts @@ -248,6 +248,8 @@ export class ApiBasedShuttleRepositoryLoader implements ShuttleRepositoryLoader const etas = this.constructEtasFromJson(json, stopId); if (etas !== null) { await this.updateEtaDataInRepository(etas); + } else { + console.warn(`ETA update failed for stop ${stopId} with the following JSON: ${JSON.stringify(json)}`); } } catch(e: any) { throw new ApiResponseError(e.message);