Better error checking to continue running of no city data is available