Invalid tracks do not get the emissions, costs or health calculations done. As such the corresponding models are not created. This was causing errors when trying to access the detail view of an invalid track.
This PR fixes that error by guarding the emissions, costs, and health representations with appropriate try..except blocks
Invalid tracks do not get the emissions, costs or health calculations done. As such the corresponding models are not created. This was causing errors when trying to access the detail view of an invalid track.
This PR fixes that error by guarding the emissions, costs, and health representations with appropriate
try..except
blocks