Repeat warning message for ETA data

This commit is contained in:
2025-09-26 15:00:04 -07:00
parent 7d886975b9
commit 9268ad5181

View File

@@ -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);