{"action":"created","issue":{"url":"https://api.github.com/repos/apiaryio/protagonist/issues/94","labels_url":"https://api.github.com/repos/apiaryio/protagonist/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/apiaryio/protagonist/issues/94/comments","events_url":"https://api.github.com/repos/apiaryio/protagonist/issues/94/events","html_url":"https://github.com/apiaryio/protagonist/pull/94","id":109006725,"number":94,"title":"Improve Result::WrapResult","user":{"login":"pksunkara","id":174703,"avatar_url":"https://avatars.githubusercontent.com/u/174703?v=3","gravatar_id":"","url":"https://api.github.com/users/pksunkara","html_url":"https://github.com/pksunkara","followers_url":"https://api.github.com/users/pksunkara/followers","following_url":"https://api.github.com/users/pksunkara/following{/other_user}","gists_url":"https://api.github.com/users/pksunkara/gists{/gist_id}","starred_url":"https://api.github.com/users/pksunkara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pksunkara/subscriptions","organizations_url":"https://api.github.com/users/pksunkara/orgs","repos_url":"https://api.github.com/users/pksunkara/repos","events_url":"https://api.github.com/users/pksunkara/events{/privacy}","received_events_url":"https://api.github.com/users/pksunkara/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apiaryio/protagonist/labels/pr1:%20DO%20NOT%20MERGE","name":"pr1: DO NOT MERGE","color":"EC5A5A"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-30T03:18:06Z","updated_at":"2015-09-30T12:12:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apiaryio/protagonist/pulls/94","html_url":"https://github.com/apiaryio/protagonist/pull/94","diff_url":"https://github.com/apiaryio/protagonist/pull/94.diff","patch_url":"https://github.com/apiaryio/protagonist/pull/94.patch"},"body":"This PR does the following:\r\n\r\n* Optimizes `Result::WrapResult` so that it directly takes result from `drafter::WrapResult` instead of implementing `drafter::WrapResult` again.\r\n* Safeguards against exceptions thrown during expansion and rendering of drafter.\r\n* Optimizes `SourceAnnotation` class by using `drafter::WrapAnnotation`\r\n* Updates the drafter submodule.\r\n\r\nBlocked by apiaryio/drafter#131 and the submodule needs to be updated once that is merged."},"comment":{"url":"https://api.github.com/repos/apiaryio/protagonist/issues/comments/144376672","html_url":"https://github.com/apiaryio/protagonist/pull/94#issuecomment-144376672","issue_url":"https://api.github.com/repos/apiaryio/protagonist/issues/94","id":144376672,"user":{"login":"zdne","id":613617,"avatar_url":"https://avatars.githubusercontent.com/u/613617?v=3","gravatar_id":"","url":"https://api.github.com/users/zdne","html_url":"https://github.com/zdne","followers_url":"https://api.github.com/users/zdne/followers","following_url":"https://api.github.com/users/zdne/following{/other_user}","gists_url":"https://api.github.com/users/zdne/gists{/gist_id}","starred_url":"https://api.github.com/users/zdne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdne/subscriptions","organizations_url":"https://api.github.com/users/zdne/orgs","repos_url":"https://api.github.com/users/zdne/repos","events_url":"https://api.github.com/users/zdne/events{/privacy}","received_events_url":"https://api.github.com/users/zdne/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T12:12:21Z","updated_at":"2015-09-30T12:12:21Z","body":"@pksunkara \r\n\r\n>  during expansion \r\n\r\nAre you saying that expansion (that is happening in Drafter) may throw an exception that will go all the way to here? That should be fixed (caught) in Drafter."}}