From 9b4115f98e291c5008d1fbfc0b1397a954894600 Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Mon, 21 Oct 2024 19:00:39 -0400 Subject: [PATCH] refactor(CheckMonitoredTrip): Dump comparison itinerary data. --- .../middleware/tripmonitor/jobs/CheckMonitoredTrip.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/opentripplanner/middleware/tripmonitor/jobs/CheckMonitoredTrip.java b/src/main/java/org/opentripplanner/middleware/tripmonitor/jobs/CheckMonitoredTrip.java index 6ff3c452..81f21d87 100644 --- a/src/main/java/org/opentripplanner/middleware/tripmonitor/jobs/CheckMonitoredTrip.java +++ b/src/main/java/org/opentripplanner/middleware/tripmonitor/jobs/CheckMonitoredTrip.java @@ -303,6 +303,8 @@ private boolean makeOTPRequestAndUpdateMatchingItineraryInternal() { // If this point is reached, a matching itinerary was not found LOG.warn("No comparison itinerary found in otp response for trip - params: {}", JsonUtils.toJson(this.trip.otp2QueryParams)); + LOG.warn("No comparison itinerary found in otp response for trip - saved itinerary: {}", JsonUtils.toJson(this.trip.itinerary)); + LOG.warn("No comparison itinerary found in otp response for trip - OTP itineraries: {}", JsonUtils.toJson(otpResponse.plan.itineraries)); if (hasReachedMaxItineraryChecks()) { // Check whether this trip should no longer ever be checked due to not having matching itineraries on any