From 106f8ec159af6000d5a98596093d3242b5e6fe77 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Tue, 26 Nov 2024 15:45:29 +0100 Subject: [PATCH] Improve wording of GTFS-RT failure messages --- .../updater/alert/GtfsRealtimeAlertsUpdater.java | 2 +- .../updater/trip/GtfsRealtimeTripUpdateSource.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/opentripplanner/updater/alert/GtfsRealtimeAlertsUpdater.java b/application/src/main/java/org/opentripplanner/updater/alert/GtfsRealtimeAlertsUpdater.java index b71dad6a656..a5be5ef4185 100644 --- a/application/src/main/java/org/opentripplanner/updater/alert/GtfsRealtimeAlertsUpdater.java +++ b/application/src/main/java/org/opentripplanner/updater/alert/GtfsRealtimeAlertsUpdater.java @@ -88,7 +88,7 @@ protected void runPolling() { lastTimestamp = feedTimestamp; } catch (Exception e) { - LOG.error("Error reading gtfs-realtime feed from " + url, e); + LOG.error("Failed to process GTFS-RT Alerts feed from {}", url, e); } } } diff --git a/application/src/main/java/org/opentripplanner/updater/trip/GtfsRealtimeTripUpdateSource.java b/application/src/main/java/org/opentripplanner/updater/trip/GtfsRealtimeTripUpdateSource.java index 0b20a4c22c7..f3d3c62d6ea 100644 --- a/application/src/main/java/org/opentripplanner/updater/trip/GtfsRealtimeTripUpdateSource.java +++ b/application/src/main/java/org/opentripplanner/updater/trip/GtfsRealtimeTripUpdateSource.java @@ -73,7 +73,7 @@ public List getUpdates() { if (feedEntity.hasTripUpdate()) updates.add(feedEntity.getTripUpdate()); } } catch (Exception e) { - LOG.error("Failed to parse GTFS-RT feed from {}", url, e); + LOG.error("Failed to process GTFS-RT TripUpdates feed from {}", url, e); } return updates; }