Skip to content

Commit

Permalink
Add log for null result in searchGpx()
Browse files Browse the repository at this point in the history
  • Loading branch information
RZR-UA committed Dec 2, 2024
1 parent 8e051f4 commit a2cb935
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ public synchronized TravelGpx searchGpx(@NonNull LatLon location, @Nullable Stri
}
searchRadius *= 2;
} while (travelGpx == null && searchRadius < MAX_SEARCH_RADIUS);
if (travelGpx == null) {
LOG.error(String.format("searchGpx(%s, %s, %s) failed", location, filter, ref));
}
return travelGpx;
}

Expand Down

0 comments on commit a2cb935

Please sign in to comment.