department-for-transport-BODS / bods-data-extractor

A python client for downloading and extracting data from the UK Bus Open Data Service
Other
44 stars 8 forks source link

Feature aa api error handling #49

Closed adamakram1 closed 1 year ago

adamakram1 commented 1 year ago

Error messages used instead of print statements, this makes it easier for the user to debug the issue,

An example error message is shown below:

image

Small changes added to "check_for_expired_operators" function, lines 656,657 assigning empty strings to variables before it's for loop.

adamakram1 commented 1 year ago

Changes have been made to correctly categorise errors