Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
  • Loading branch information
erikamov committed Nov 15, 2024
1 parent 7134bda commit 0d2a924
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 7 deletions.
4 changes: 2 additions & 2 deletions jobs/gtfs-rt-parser-v2/gtfs_rt_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def validate_and_upload(
with open(results_path) as f:
records = json.load(f)
except FileNotFoundError as e:
# TODO: does this mean no errors?
# This exception was previously generating the error "[Errno 2] No such file or directory"
msg = f"WARNING: no validation output file found in {results_path} for {extract.path}"
if verbose:
log(
Expand All @@ -424,7 +424,7 @@ def validate_and_upload(
outcomes.append(
RTFileProcessingOutcome(
step=hour.step,
success=False,
success=True,
exception=e,
extract=extract,
)
Expand Down
Loading

0 comments on commit 0d2a924

Please sign in to comment.