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

Refine GTFS-RT validator error messaging #3565

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

ohrite
Copy link
Contributor

@ohrite ohrite commented Nov 26, 2024

Description

Provide a better message when GTFS-RT validator jar skips a file. Previously, the validation_exception logged was a raw byte string representing the MD5 of a file evaluated by the gtfs-realtime-validator jar file.

Screenshot 2024-11-26 at 12 17 38

This has been amended to print the message "No validator output" instead, mirroring the command line output.

Resolves #2780

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

How has this been tested?

Tested locally.

Post-merge follow-ups

  • No action required
  • Actions required (specified below)

Monitor cal-itp-data-infra.staging.int_gtfs_quality__rt_validation_outcomes to ensure that friendly error messages appear rather than byte strings.

@ohrite ohrite requested review from erikamov and removed request for evansiroky and vevetron November 26, 2024 20:19
Signed-off-by: Erika Pacheco <erika@ministryofvelocity.com>
@ohrite ohrite force-pushed the mov/2780-gtfs-rt-validation-binary branch from e00d16e to a069890 Compare November 26, 2024 20:20
@ohrite ohrite merged commit 0de0734 into main Nov 26, 2024
4 checks passed
@ohrite ohrite deleted the mov/2780-gtfs-rt-validation-binary branch November 26, 2024 20:23
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.

GTFS RT validation: Investigate [Errno 2] No such file or directory issues
2 participants