{"action":"opened","issue":{"url":"https://api.github.com/repos/CodeForFtL/rep-ftl/issues/4","labels_url":"https://api.github.com/repos/CodeForFtL/rep-ftl/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/CodeForFtL/rep-ftl/issues/4/comments","events_url":"https://api.github.com/repos/CodeForFtL/rep-ftl/issues/4/events","html_url":"https://github.com/CodeForFtL/rep-ftl/issues/4","id":111859162,"number":4,"title":"Fix error handling code when processing the results from Google Civic Info API","user":{"login":"qtrandev","id":1198220,"avatar_url":"https://avatars.githubusercontent.com/u/1198220?v=3","gravatar_id":"","url":"https://api.github.com/users/qtrandev","html_url":"https://github.com/qtrandev","followers_url":"https://api.github.com/users/qtrandev/followers","following_url":"https://api.github.com/users/qtrandev/following{/other_user}","gists_url":"https://api.github.com/users/qtrandev/gists{/gist_id}","starred_url":"https://api.github.com/users/qtrandev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qtrandev/subscriptions","organizations_url":"https://api.github.com/users/qtrandev/orgs","repos_url":"https://api.github.com/users/qtrandev/repos","events_url":"https://api.github.com/users/qtrandev/events{/privacy}","received_events_url":"https://api.github.com/users/qtrandev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-16T15:53:10Z","updated_at":"2015-10-16T15:53:10Z","closed_at":null,"body":"I had to comment out the error handling code to work here:\r\nhttps://github.com/CodeForFtL/rep-ftl/blob/master/scripts/repsView.js#L173\r\nbut we need to put that back in to handle errors.\r\n\r\nNote 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.\r\nhttps://developers.google.com/civic-information/docs/v2/representatives/representativeInfoByAddress\r\nhttps://github.com/CodeForFtL/rep-ftl/blob/master/scripts/repsView.js#L314"}}