Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some error communication & handling to valhalla_ingest_transit #4710

Merged
merged 3 commits into from
May 10, 2024

Conversation

nilsnolde
Copy link
Member

fixes #4707

just be a bit more communicative to prevent issues like the referenced one.

@@ -169,13 +169,22 @@ std::priority_queue<tile_transit_info_t> select_transit_tiles(const std::string&
filesystem::recursive_directory_iterator end_file_itr;
for (; gtfs_feed_itr != end_file_itr; ++gtfs_feed_itr) {
const auto& feed_path = gtfs_feed_itr->path();
if (gtfs_feed_itr->is_directory() && filesystem::is_empty(feed_path)) {
LOG_ERROR("Feed directory " + feed_path.string() + " is empty");
continue;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might also return and abort building any transit?

kevinkreiser
kevinkreiser previously approved these changes May 8, 2024
@chrstnbwnkl chrstnbwnkl merged commit 26cfae4 into master May 10, 2024
7 of 9 checks passed
@chrstnbwnkl chrstnbwnkl deleted the nn-transit-fail-fast branch May 10, 2024 09:06
ADMUKHE pushed a commit to mercedes-benz/valhalla that referenced this pull request Jul 28, 2024
…alhalla#4710)

Co-authored-by: Christian <58629404+chrstnbwnkl@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transit routing not working
3 participants