{"action":"created","issue":{"url":"https://api.github.com/repos/everypolitician/rebuilder/issues/39","repository_url":"https://api.github.com/repos/everypolitician/rebuilder","labels_url":"https://api.github.com/repos/everypolitician/rebuilder/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/rebuilder/issues/39/comments","events_url":"https://api.github.com/repos/everypolitician/rebuilder/issues/39/events","html_url":"https://github.com/everypolitician/rebuilder/issues/39","id":170822319,"number":39,"title":"test for Nil and throw exception with better error message","user":{"login":"davewhiteland","id":111320,"avatar_url":"https://avatars.githubusercontent.com/u/111320?v=3","gravatar_id":"","url":"https://api.github.com/users/davewhiteland","html_url":"https://github.com/davewhiteland","followers_url":"https://api.github.com/users/davewhiteland/followers","following_url":"https://api.github.com/users/davewhiteland/following{/other_user}","gists_url":"https://api.github.com/users/davewhiteland/gists{/gist_id}","starred_url":"https://api.github.com/users/davewhiteland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davewhiteland/subscriptions","organizations_url":"https://api.github.com/users/davewhiteland/orgs","repos_url":"https://api.github.com/users/davewhiteland/repos","events_url":"https://api.github.com/users/davewhiteland/events{/privacy}","received_events_url":"https://api.github.com/users/davewhiteland/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/everypolitician/rebuilder/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-12T08:26:21Z","updated_at":"2016-08-15T06:33:16Z","closed_at":null,"body":"# Problem\r\n\r\nRollbar is reporting rebuilder failures like this:\r\n\r\n> `[rebuilder] production - New Error: NoMethodError: undefined method `>' for nil:NilClass https://rollbar.com/everypolitician/rebuilder/items/532/`\r\n\r\n(...which leads to https://github.com/everypolitician/rebuilder/blob/edc0a614852a1f9992a89d96d7d2d00810d6ab0d/app.rb#L54 )\r\n\r\nMuch too indirect and cryptic.\r\n\r\n# Proposed Solution\r\n\r\nRebuilder code tests for the not-infrequent `Nil` problem and throws a more helpful diagnostic/error message? \r\n\r\nI know _I_ don't know, but a rebuilder engineer might know what the underlying failure is, and reword the diagnostic accordingly.\r\n\r\n# Acceptance Criteria\r\n\r\nMore helpful error message appears in the EveryPolitician #rollbar Slack channel when this happens.\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/everypolitician/rebuilder/issues/comments/239737715","html_url":"https://github.com/everypolitician/rebuilder/issues/39#issuecomment-239737715","issue_url":"https://api.github.com/repos/everypolitician/rebuilder/issues/39","id":239737715,"user":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T06:33:16Z","updated_at":"2016-08-15T06:33:16Z","body":"At what level of transience is the issue? i.e. can we catch and retry in these cases?"}}
{"actor":{"display_login":"tmtmtmtm"}}