Skip to content

Commit

Permalink
Adjust error message
Browse files Browse the repository at this point in the history
  • Loading branch information
pgroenbaek committed Dec 27, 2024
1 parent 9026880 commit da0898d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/generate_route_tsection.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def generate_dynatrax_entries(world_files, dyntrack_sections, dyntrack_paths):
dyntrack_path_section = next((t for t in dyntrack_sections if t[0] == path_section_idx), None)

if dyntrack_path_section is None:
raise Exception("Could not find TrackSection %d for TrackPath with SectionIdx %d for shape '%s'" % (path_section_idx, section_idx, shape_name))
raise Exception("Could not find SectionCurve %d in TrackPath with SectionIdx %d for shape '%s'" % (path_section_idx, section_idx, shape_name))

section_type = dyntrack_path_section[1]
length = dyntrack_path_section[2]
Expand Down

0 comments on commit da0898d

Please sign in to comment.