I had to comment out the error handling code to work here: https://github.com/CodeForFtL/rep-ftl/blob/master/scripts/repsView.js#L173 but we need to put that back in to handle errors. Note that we are using V2 of the Google Civic Information API now code other sections of the code needs to be fixed to handle this. https://developers.google.com/civic-information/docs/v2/representatives/representativeInfoByAddress https://github.com/CodeForFtL/rep-ftl/blob/master/scripts/repsView.js#L314
I had to comment out the error handling code to work here:
https://github.com/CodeForFtL/rep-ftl/blob/master/scripts/repsView.js#L173
but we need to put that back in to handle errors.
Note that we are using V2 of the Google Civic Information API now code other sections of the code needs to be fixed to handle this.
https://developers.google.com/civic-information/docs/v2/representatives/representativeInfoByAddress
https://github.com/CodeForFtL/rep-ftl/blob/master/scripts/repsView.js#L314