{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/spaceship/issues/192","labels_url":"https://api.github.com/repos/fastlane/spaceship/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/spaceship/issues/192/comments","events_url":"https://api.github.com/repos/fastlane/spaceship/issues/192/events","html_url":"https://github.com/fastlane/spaceship/pull/192","id":121186462,"number":192,"title":"Properly safeguard against a nil response body when parsing a response","user":{"login":"andrewpage","id":3052811,"avatar_url":"https://avatars.githubusercontent.com/u/3052811?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewpage","html_url":"https://github.com/andrewpage","followers_url":"https://api.github.com/users/andrewpage/followers","following_url":"https://api.github.com/users/andrewpage/following{/other_user}","gists_url":"https://api.github.com/users/andrewpage/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewpage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewpage/subscriptions","organizations_url":"https://api.github.com/users/andrewpage/orgs","repos_url":"https://api.github.com/users/andrewpage/repos","events_url":"https://api.github.com/users/andrewpage/events{/privacy}","received_events_url":"https://api.github.com/users/andrewpage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-09T08:31:22Z","updated_at":"2015-12-14T03:12:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fastlane/spaceship/pulls/192","html_url":"https://github.com/fastlane/spaceship/pull/192","diff_url":"https://github.com/fastlane/spaceship/pull/192.diff","patch_url":"https://github.com/fastlane/spaceship/pull/192.patch"},"body":"`Spaceship::Client#parse_response` attempted to safeguard against a nil `response.body` but it was not properly implemented.\r\n\r\nIf `response.body[expected_key]` turned out to be nil, we were safe. However, if `response.body` *itself* was nil, we would get an error when trying to access `response.body[expected_key]`. This change safeguards against that.\r\n\r\n*In response to [this](https://github.com/fastlane/spaceship/issues/189) issue.*"},"comment":{"url":"https://api.github.com/repos/fastlane/spaceship/issues/comments/164331222","html_url":"https://github.com/fastlane/spaceship/pull/192#issuecomment-164331222","issue_url":"https://api.github.com/repos/fastlane/spaceship/issues/192","id":164331222,"user":{"login":"andrewpage","id":3052811,"avatar_url":"https://avatars.githubusercontent.com/u/3052811?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewpage","html_url":"https://github.com/andrewpage","followers_url":"https://api.github.com/users/andrewpage/followers","following_url":"https://api.github.com/users/andrewpage/following{/other_user}","gists_url":"https://api.github.com/users/andrewpage/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewpage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewpage/subscriptions","organizations_url":"https://api.github.com/users/andrewpage/orgs","repos_url":"https://api.github.com/users/andrewpage/repos","events_url":"https://api.github.com/users/andrewpage/events{/privacy}","received_events_url":"https://api.github.com/users/andrewpage/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T03:12:22Z","updated_at":"2015-12-14T03:12:22Z","body":"@KrauseFx fixed"}}