Skip to content

Commit

Permalink
print failure of ingest
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Mar 28, 2024
1 parent 9d0462c commit 0609a1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/maple/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,9 @@ async fn run_ingest() -> Result<(), Box<dyn Error + Send + Sync>> {
//any feed that does not have a date range any
// more or is sufficiently old (over 5 days old) is wiped
} else {
//print output
eprintln!("GTFS process failed for feed {},\n {:?}", feed_id, gtfs_process_result.unwrap_err());

//UPDATE gtfs.static_download_attempts where onstop_feed_id and download_unix_time_ms match as failure
use catenary::schema::gtfs::static_download_attempts::dsl::static_download_attempts;

Expand Down

0 comments on commit 0609a1d

Please sign in to comment.