Skip to content

Commit

Permalink
refactor(CheckMonitoredTrip): Dump comparison itinerary data.
Browse files Browse the repository at this point in the history
  • Loading branch information
binh-dam-ibigroup committed Oct 21, 2024
1 parent 3418ef8 commit 9b4115f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b4115f

Please sign in to comment.