Skip to content

Fix error handling code when processing the results from Google Civic Info API #4

@qtrandev

Description

@qtrandev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions