{"action":"created","comment":{"url":"https://api.github.com/repos/indigobio/hyperion/pulls/comments/48263640","id":48263640,"diff_hunk":"@@ -14,6 +14,10 @@ def with_request_logging(route, uri, headers)\n       end\n     end\n \n+    def log_result(result)\n+      logger.error(Oj.dump(result.as_json)) if should_log_result?(result)","path":"lib/hyperion/aux/logger.rb","position":5,"original_position":5,"commit_id":"ff276dffe55bade34669f56eac1af48e6589a478","original_commit_id":"ff276dffe55bade34669f56eac1af48e6589a478","user":{"login":"wintonpc","id":2847818,"avatar_url":"https://avatars.githubusercontent.com/u/2847818?v=3","gravatar_id":"","url":"https://api.github.com/users/wintonpc","html_url":"https://github.com/wintonpc","followers_url":"https://api.github.com/users/wintonpc/followers","following_url":"https://api.github.com/users/wintonpc/following{/other_user}","gists_url":"https://api.github.com/users/wintonpc/gists{/gist_id}","starred_url":"https://api.github.com/users/wintonpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wintonpc/subscriptions","organizations_url":"https://api.github.com/users/wintonpc/orgs","repos_url":"https://api.github.com/users/wintonpc/repos","events_url":"https://api.github.com/users/wintonpc/events{/privacy}","received_events_url":"https://api.github.com/users/wintonpc/received_events","type":"User","site_admin":false},"body":"did you mean to use `dump_json` here too?","created_at":"2015-12-22T15:30:10Z","updated_at":"2015-12-22T15:30:10Z","html_url":"https://github.com/indigobio/hyperion/pull/6#discussion_r48263640","pull_request_url":"https://api.github.com/repos/indigobio/hyperion/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/indigobio/hyperion/pulls/comments/48263640"},"html":{"href":"https://github.com/indigobio/hyperion/pull/6#discussion_r48263640"},"pull_request":{"href":"https://api.github.com/repos/indigobio/hyperion/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/indigobio/hyperion/pulls/6","id":54139656,"html_url":"https://github.com/indigobio/hyperion/pull/6","diff_url":"https://github.com/indigobio/hyperion/pull/6.diff","patch_url":"https://github.com/indigobio/hyperion/pull/6.patch","issue_url":"https://api.github.com/repos/indigobio/hyperion/issues/6","number":6,"state":"open","locked":false,"title":"Log error responses and improved logging of headers","user":{"login":"oakesja","id":2292766,"avatar_url":"https://avatars.githubusercontent.com/u/2292766?v=3","gravatar_id":"","url":"https://api.github.com/users/oakesja","html_url":"https://github.com/oakesja","followers_url":"https://api.github.com/users/oakesja/followers","following_url":"https://api.github.com/users/oakesja/following{/other_user}","gists_url":"https://api.github.com/users/oakesja/gists{/gist_id}","starred_url":"https://api.github.com/users/oakesja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oakesja/subscriptions","organizations_url":"https://api.github.com/users/oakesja/orgs","repos_url":"https://api.github.com/users/oakesja/repos","events_url":"https://api.github.com/users/oakesja/events{/privacy}","received_events_url":"https://api.github.com/users/oakesja/received_events","type":"User","site_admin":false},"body":"Paired with Justin. ","created_at":"2015-12-18T19:24:03Z","updated_at":"2015-12-22T15:30:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13dde0a6460b93d2a95160c1ef4bf2ece0c08d56","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/indigobio/hyperion/pulls/6/commits","review_comments_url":"https://api.github.com/repos/indigobio/hyperion/pulls/6/comments","review_comment_url":"https://api.github.com/repos/indigobio/hyperion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/indigobio/hyperion/issues/6/comments","statuses_url":"https://api.github.com/repos/indigobio/hyperion/statuses/ff276dffe55bade34669f56eac1af48e6589a478","head":{"label":"indigobio:f-logs","ref":"f-logs","sha":"ff276dffe55bade34669f56eac1af48e6589a478","user":{"login":"indigobio","id":711805,"avatar_url":"https://avatars.githubusercontent.com/u/711805?v=3","gravatar_id":"","url":"https://api.github.com/users/indigobio","html_url":"https://github.com/indigobio","followers_url":"https://api.github.com/users/indigobio/followers","following_url":"https://api.github.com/users/indigobio/following{/other_user}","gists_url":"https://api.github.com/users/indigobio/gists{/gist_id}","starred_url":"https://api.github.com/users/indigobio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indigobio/subscriptions","organizations_url":"https://api.github.com/users/indigobio/orgs","repos_url":"https://api.github.com/users/indigobio/repos","events_url":"https://api.github.com/users/indigobio/events{/privacy}","received_events_url":"https://api.github.com/users/indigobio/received_events","type":"Organization","site_admin":false},"repo":{"id":27606837,"name":"hyperion","full_name":"indigobio/hyperion","owner":{"login":"indigobio","id":711805,"avatar_url":"https://avatars.githubusercontent.com/u/711805?v=3","gravatar_id":"","url":"https://api.github.com/users/indigobio","html_url":"https://github.com/indigobio","followers_url":"https://api.github.com/users/indigobio/followers","following_url":"https://api.github.com/users/indigobio/following{/other_user}","gists_url":"https://api.github.com/users/indigobio/gists{/gist_id}","starred_url":"https://api.github.com/users/indigobio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indigobio/subscriptions","organizations_url":"https://api.github.com/users/indigobio/orgs","repos_url":"https://api.github.com/users/indigobio/repos","events_url":"https://api.github.com/users/indigobio/events{/privacy}","received_events_url":"https://api.github.com/users/indigobio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/indigobio/hyperion","description":"All the things go RESTfully","fork":false,"url":"https://api.github.com/repos/indigobio/hyperion","forks_url":"https://api.github.com/repos/indigobio/hyperion/forks","keys_url":"https://api.github.com/repos/indigobio/hyperion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/indigobio/hyperion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/indigobio/hyperion/teams","hooks_url":"https://api.github.com/repos/indigobio/hyperion/hooks","issue_events_url":"https://api.github.com/repos/indigobio/hyperion/issues/events{/number}","events_url":"https://api.github.com/repos/indigobio/hyperion/events","assignees_url":"https://api.github.com/repos/indigobio/hyperion/assignees{/user}","branches_url":"https://api.github.com/repos/indigobio/hyperion/branches{/branch}","tags_url":"https://api.github.com/repos/indigobio/hyperion/tags","blobs_url":"https://api.github.com/repos/indigobio/hyperion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/indigobio/hyperion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/indigobio/hyperion/git/refs{/sha}","trees_url":"https://api.github.com/repos/indigobio/hyperion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/indigobio/hyperion/statuses/{sha}","languages_url":"https://api.github.com/repos/indigobio/hyperion/languages","stargazers_url":"https://api.github.com/repos/indigobio/hyperion/stargazers","contributors_url":"https://api.github.com/repos/indigobio/hyperion/contributors","subscribers_url":"https://api.github.com/repos/indigobio/hyperion/subscribers","subscription_url":"https://api.github.com/repos/indigobio/hyperion/subscription","commits_url":"https://api.github.com/repos/indigobio/hyperion/commits{/sha}","git_commits_url":"https://api.github.com/repos/indigobio/hyperion/git/commits{/sha}","comments_url":"https://api.github.com/repos/indigobio/hyperion/comments{/number}","issue_comment_url":"https://api.github.com/repos/indigobio/hyperion/issues/comments{/number}","contents_url":"https://api.github.com/repos/indigobio/hyperion/contents/{+path}","compare_url":"https://api.github.com/repos/indigobio/hyperion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/indigobio/hyperion/merges","archive_url":"https://api.github.com/repos/indigobio/hyperion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/indigobio/hyperion/downloads","issues_url":"https://api.github.com/repos/indigobio/hyperion/issues{/number}","pulls_url":"https://api.github.com/repos/indigobio/hyperion/pulls{/number}","milestones_url":"https://api.github.com/repos/indigobio/hyperion/milestones{/number}","notifications_url":"https://api.github.com/repos/indigobio/hyperion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/indigobio/hyperion/labels{/name}","releases_url":"https://api.github.com/repos/indigobio/hyperion/releases{/id}","created_at":"2014-12-05T19:33:24Z","updated_at":"2015-03-24T20:03:39Z","pushed_at":"2015-12-21T20:52:37Z","git_url":"git://github.com/indigobio/hyperion.git","ssh_url":"git@github.com:indigobio/hyperion.git","clone_url":"https://github.com/indigobio/hyperion.git","svn_url":"https://github.com/indigobio/hyperion","homepage":null,"size":182,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"indigobio:master","ref":"master","sha":"c36299bb801e2a354b4ca58ff1e19672a3b6d3d5","user":{"login":"indigobio","id":711805,"avatar_url":"https://avatars.githubusercontent.com/u/711805?v=3","gravatar_id":"","url":"https://api.github.com/users/indigobio","html_url":"https://github.com/indigobio","followers_url":"https://api.github.com/users/indigobio/followers","following_url":"https://api.github.com/users/indigobio/following{/other_user}","gists_url":"https://api.github.com/users/indigobio/gists{/gist_id}","starred_url":"https://api.github.com/users/indigobio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indigobio/subscriptions","organizations_url":"https://api.github.com/users/indigobio/orgs","repos_url":"https://api.github.com/users/indigobio/repos","events_url":"https://api.github.com/users/indigobio/events{/privacy}","received_events_url":"https://api.github.com/users/indigobio/received_events","type":"Organization","site_admin":false},"repo":{"id":27606837,"name":"hyperion","full_name":"indigobio/hyperion","owner":{"login":"indigobio","id":711805,"avatar_url":"https://avatars.githubusercontent.com/u/711805?v=3","gravatar_id":"","url":"https://api.github.com/users/indigobio","html_url":"https://github.com/indigobio","followers_url":"https://api.github.com/users/indigobio/followers","following_url":"https://api.github.com/users/indigobio/following{/other_user}","gists_url":"https://api.github.com/users/indigobio/gists{/gist_id}","starred_url":"https://api.github.com/users/indigobio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indigobio/subscriptions","organizations_url":"https://api.github.com/users/indigobio/orgs","repos_url":"https://api.github.com/users/indigobio/repos","events_url":"https://api.github.com/users/indigobio/events{/privacy}","received_events_url":"https://api.github.com/users/indigobio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/indigobio/hyperion","description":"All the things go RESTfully","fork":false,"url":"https://api.github.com/repos/indigobio/hyperion","forks_url":"https://api.github.com/repos/indigobio/hyperion/forks","keys_url":"https://api.github.com/repos/indigobio/hyperion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/indigobio/hyperion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/indigobio/hyperion/teams","hooks_url":"https://api.github.com/repos/indigobio/hyperion/hooks","issue_events_url":"https://api.github.com/repos/indigobio/hyperion/issues/events{/number}","events_url":"https://api.github.com/repos/indigobio/hyperion/events","assignees_url":"https://api.github.com/repos/indigobio/hyperion/assignees{/user}","branches_url":"https://api.github.com/repos/indigobio/hyperion/branches{/branch}","tags_url":"https://api.github.com/repos/indigobio/hyperion/tags","blobs_url":"https://api.github.com/repos/indigobio/hyperion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/indigobio/hyperion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/indigobio/hyperion/git/refs{/sha}","trees_url":"https://api.github.com/repos/indigobio/hyperion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/indigobio/hyperion/statuses/{sha}","languages_url":"https://api.github.com/repos/indigobio/hyperion/languages","stargazers_url":"https://api.github.com/repos/indigobio/hyperion/stargazers","contributors_url":"https://api.github.com/repos/indigobio/hyperion/contributors","subscribers_url":"https://api.github.com/repos/indigobio/hyperion/subscribers","subscription_url":"https://api.github.com/repos/indigobio/hyperion/subscription","commits_url":"https://api.github.com/repos/indigobio/hyperion/commits{/sha}","git_commits_url":"https://api.github.com/repos/indigobio/hyperion/git/commits{/sha}","comments_url":"https://api.github.com/repos/indigobio/hyperion/comments{/number}","issue_comment_url":"https://api.github.com/repos/indigobio/hyperion/issues/comments{/number}","contents_url":"https://api.github.com/repos/indigobio/hyperion/contents/{+path}","compare_url":"https://api.github.com/repos/indigobio/hyperion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/indigobio/hyperion/merges","archive_url":"https://api.github.com/repos/indigobio/hyperion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/indigobio/hyperion/downloads","issues_url":"https://api.github.com/repos/indigobio/hyperion/issues{/number}","pulls_url":"https://api.github.com/repos/indigobio/hyperion/pulls{/number}","milestones_url":"https://api.github.com/repos/indigobio/hyperion/milestones{/number}","notifications_url":"https://api.github.com/repos/indigobio/hyperion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/indigobio/hyperion/labels{/name}","releases_url":"https://api.github.com/repos/indigobio/hyperion/releases{/id}","created_at":"2014-12-05T19:33:24Z","updated_at":"2015-03-24T20:03:39Z","pushed_at":"2015-12-21T20:52:37Z","git_url":"git://github.com/indigobio/hyperion.git","ssh_url":"git@github.com:indigobio/hyperion.git","clone_url":"https://github.com/indigobio/hyperion.git","svn_url":"https://github.com/indigobio/hyperion","homepage":null,"size":182,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/indigobio/hyperion/pulls/6"},"html":{"href":"https://github.com/indigobio/hyperion/pull/6"},"issue":{"href":"https://api.github.com/repos/indigobio/hyperion/issues/6"},"comments":{"href":"https://api.github.com/repos/indigobio/hyperion/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/indigobio/hyperion/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/indigobio/hyperion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/indigobio/hyperion/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/indigobio/hyperion/statuses/ff276dffe55bade34669f56eac1af48e6589a478"}}}}