{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/hound/issues/632","labels_url":"https://api.github.com/repos/thoughtbot/hound/issues/632/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/hound/issues/632/comments","events_url":"https://api.github.com/repos/thoughtbot/hound/issues/632/events","html_url":"https://github.com/thoughtbot/hound/pull/632","id":57658897,"number":632,"title":"Display detailed error message if activation fails","user":{"login":"malandrina","id":1855523,"avatar_url":"https://avatars.githubusercontent.com/u/1855523?v=3","gravatar_id":"","url":"https://api.github.com/users/malandrina","html_url":"https://github.com/malandrina","followers_url":"https://api.github.com/users/malandrina/followers","following_url":"https://api.github.com/users/malandrina/following{/other_user}","gists_url":"https://api.github.com/users/malandrina/gists{/gist_id}","starred_url":"https://api.github.com/users/malandrina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malandrina/subscriptions","organizations_url":"https://api.github.com/users/malandrina/orgs","repos_url":"https://api.github.com/users/malandrina/repos","events_url":"https://api.github.com/users/malandrina/events{/privacy}","received_events_url":"https://api.github.com/users/malandrina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-13T21:51:42Z","updated_at":"2015-02-14T00:31:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thoughtbot/hound/pulls/632","html_url":"https://github.com/thoughtbot/hound/pull/632","diff_url":"https://github.com/thoughtbot/hound/pull/632.diff","patch_url":"https://github.com/thoughtbot/hound/pull/632.patch"},"body":"* Currently when repo activation fails a generic error message\r\n  is displayed to the user. This commit introduces support for\r\n  displaying detailed, actionable error messages when repo activation fails.\r\n* Update `RepoActivator` to add and expose errors when repo activation\r\n  fails due to a GitHub permissions issue.\r\n* Update `ActivationsController#create` to return error messages when\r\n  error messages are present.\r\n* Introduce `ErrorMessageTranslation` to handle translating\r\n  non-user-friendly Octokit error messages into messages that can be\r\n  displayed to the end user.\r\n* Update client-side error handling to display error messages included\r\n  in response body\r\n* https://trello.com/c/KYuTdbXS/405-when-a-user-tries-to-enable-a-repo-and-it-fails-they-get-no-feedback-as-to-why-enabling-the-repo-failed"},"comment":{"url":"https://api.github.com/repos/thoughtbot/hound/issues/comments/74351214","html_url":"https://github.com/thoughtbot/hound/pull/632#issuecomment-74351214","issue_url":"https://api.github.com/repos/thoughtbot/hound/issues/632","id":74351214,"user":{"login":"malandrina","id":1855523,"avatar_url":"https://avatars.githubusercontent.com/u/1855523?v=3","gravatar_id":"","url":"https://api.github.com/users/malandrina","html_url":"https://github.com/malandrina","followers_url":"https://api.github.com/users/malandrina/followers","following_url":"https://api.github.com/users/malandrina/following{/other_user}","gists_url":"https://api.github.com/users/malandrina/gists{/gist_id}","starred_url":"https://api.github.com/users/malandrina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malandrina/subscriptions","organizations_url":"https://api.github.com/users/malandrina/orgs","repos_url":"https://api.github.com/users/malandrina/repos","events_url":"https://api.github.com/users/malandrina/events{/privacy}","received_events_url":"https://api.github.com/users/malandrina/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T00:31:19Z","updated_at":"2015-02-14T00:31:19Z","body":"@thorncp @salbertson @srt32 @gylaz ready for re-review."}}