{"action":"created","comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/178554006","pull_request_review_id":108626480,"id":178554006,"diff_hunk":"@@ -15,7 +15,7 @@\n     <% end %>\n   </h2>\n \n-  <%= render template: \"rescues/_source\" %>\n-  <%= render template: \"rescues/_trace\" %>\n+  <%= render \"rescues/source\", source_extracts: @source_extracts, show_source_idx: @show_source_idx, error_index: 0 %>\n+  <%= render \"rescues/trace\", traces: @traces, trace_to_show: @trace_to_show, error_index: 0 %>\n   <%= render template: \"rescues/_request_and_response\" %>","path":"actionpack/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb","position":8,"original_position":8,"commit_id":"75b81624fad811cb69f33728089a862f6931d433","original_commit_id":"75b81624fad811cb69f33728089a862f6931d433","user":{"login":"kaspth","id":350807,"avatar_url":"https://avatars0.githubusercontent.com/u/350807?v=4","gravatar_id":"","url":"https://api.github.com/users/kaspth","html_url":"https://github.com/kaspth","followers_url":"https://api.github.com/users/kaspth/followers","following_url":"https://api.github.com/users/kaspth/following{/other_user}","gists_url":"https://api.github.com/users/kaspth/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspth/subscriptions","organizations_url":"https://api.github.com/users/kaspth/orgs","repos_url":"https://api.github.com/users/kaspth/repos","events_url":"https://api.github.com/users/kaspth/events{/privacy}","received_events_url":"https://api.github.com/users/kaspth/received_events","type":"User","site_admin":false},"body":"Ditto.","created_at":"2018-04-02T14:25:29Z","updated_at":"2018-04-02T14:27:49Z","html_url":"https://github.com/rails/rails/pull/32410#discussion_r178554006","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/32410","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/178554006"},"html":{"href":"https://github.com/rails/rails/pull/32410#discussion_r178554006"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/32410"}}},"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/32410","id":178760918,"html_url":"https://github.com/rails/rails/pull/32410","diff_url":"https://github.com/rails/rails/pull/32410.diff","patch_url":"https://github.com/rails/rails/pull/32410.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/32410","number":32410,"state":"open","locked":false,"title":"Show nested exceptions on the debug view","user":{"login":"yuki24","id":386234,"avatar_url":"https://avatars0.githubusercontent.com/u/386234?v=4","gravatar_id":"","url":"https://api.github.com/users/yuki24","html_url":"https://github.com/yuki24","followers_url":"https://api.github.com/users/yuki24/followers","following_url":"https://api.github.com/users/yuki24/following{/other_user}","gists_url":"https://api.github.com/users/yuki24/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki24/subscriptions","organizations_url":"https://api.github.com/users/yuki24/orgs","repos_url":"https://api.github.com/users/yuki24/repos","events_url":"https://api.github.com/users/yuki24/events{/privacy}","received_events_url":"https://api.github.com/users/yuki24/received_events","type":"User","site_admin":false},"body":"This PR adds the ability to show nested exceptions, [which I proposed a few weeks ago](https://groups.google.com/forum/#!topic/rubyonrails-core/6ZWrf_Ikx4A) on the core mailing list.\r\n\r\nIt's better to see it in action instead of explaining the entire thing. Here is a screenshot:\r\n\r\n![out](https://user-images.githubusercontent.com/386234/38180368-165a2dfc-35fa-11e8-8925-0101abc627ff.gif)\r\n\r\nI'm going to add the same functionality to the plain text response once this is merged.","created_at":"2018-04-02T02:18:23Z","updated_at":"2018-04-02T14:27:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62558f16f7c06e41b74398243cd24148e6e28142","assignee":{"login":"georgeclaghorn","id":94129,"avatar_url":"https://avatars1.githubusercontent.com/u/94129?v=4","gravatar_id":"","url":"https://api.github.com/users/georgeclaghorn","html_url":"https://github.com/georgeclaghorn","followers_url":"https://api.github.com/users/georgeclaghorn/followers","following_url":"https://api.github.com/users/georgeclaghorn/following{/other_user}","gists_url":"https://api.github.com/users/georgeclaghorn/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeclaghorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeclaghorn/subscriptions","organizations_url":"https://api.github.com/users/georgeclaghorn/orgs","repos_url":"https://api.github.com/users/georgeclaghorn/repos","events_url":"https://api.github.com/users/georgeclaghorn/events{/privacy}","received_events_url":"https://api.github.com/users/georgeclaghorn/received_events","type":"User","site_admin":false},"assignees":[{"login":"georgeclaghorn","id":94129,"avatar_url":"https://avatars1.githubusercontent.com/u/94129?v=4","gravatar_id":"","url":"https://api.github.com/users/georgeclaghorn","html_url":"https://github.com/georgeclaghorn","followers_url":"https://api.github.com/users/georgeclaghorn/followers","following_url":"https://api.github.com/users/georgeclaghorn/following{/other_user}","gists_url":"https://api.github.com/users/georgeclaghorn/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeclaghorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeclaghorn/subscriptions","organizations_url":"https://api.github.com/users/georgeclaghorn/orgs","repos_url":"https://api.github.com/users/georgeclaghorn/repos","events_url":"https://api.github.com/users/georgeclaghorn/events{/privacy}","received_events_url":"https://api.github.com/users/georgeclaghorn/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/32410/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/32410/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/32410/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/75b81624fad811cb69f33728089a862f6931d433","head":{"label":"yuki24:show-cause-on-debug-view-2","ref":"show-cause-on-debug-view-2","sha":"75b81624fad811cb69f33728089a862f6931d433","user":{"login":"yuki24","id":386234,"avatar_url":"https://avatars0.githubusercontent.com/u/386234?v=4","gravatar_id":"","url":"https://api.github.com/users/yuki24","html_url":"https://github.com/yuki24","followers_url":"https://api.github.com/users/yuki24/followers","following_url":"https://api.github.com/users/yuki24/following{/other_user}","gists_url":"https://api.github.com/users/yuki24/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki24/subscriptions","organizations_url":"https://api.github.com/users/yuki24/orgs","repos_url":"https://api.github.com/users/yuki24/repos","events_url":"https://api.github.com/users/yuki24/events{/privacy}","received_events_url":"https://api.github.com/users/yuki24/received_events","type":"User","site_admin":false},"repo":{"id":4546410,"name":"rails","full_name":"yuki24/rails","owner":{"login":"yuki24","id":386234,"avatar_url":"https://avatars0.githubusercontent.com/u/386234?v=4","gravatar_id":"","url":"https://api.github.com/users/yuki24","html_url":"https://github.com/yuki24","followers_url":"https://api.github.com/users/yuki24/followers","following_url":"https://api.github.com/users/yuki24/following{/other_user}","gists_url":"https://api.github.com/users/yuki24/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki24/subscriptions","organizations_url":"https://api.github.com/users/yuki24/orgs","repos_url":"https://api.github.com/users/yuki24/repos","events_url":"https://api.github.com/users/yuki24/events{/privacy}","received_events_url":"https://api.github.com/users/yuki24/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuki24/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/yuki24/rails","forks_url":"https://api.github.com/repos/yuki24/rails/forks","keys_url":"https://api.github.com/repos/yuki24/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuki24/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuki24/rails/teams","hooks_url":"https://api.github.com/repos/yuki24/rails/hooks","issue_events_url":"https://api.github.com/repos/yuki24/rails/issues/events{/number}","events_url":"https://api.github.com/repos/yuki24/rails/events","assignees_url":"https://api.github.com/repos/yuki24/rails/assignees{/user}","branches_url":"https://api.github.com/repos/yuki24/rails/branches{/branch}","tags_url":"https://api.github.com/repos/yuki24/rails/tags","blobs_url":"https://api.github.com/repos/yuki24/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuki24/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuki24/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuki24/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuki24/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/yuki24/rails/languages","stargazers_url":"https://api.github.com/repos/yuki24/rails/stargazers","contributors_url":"https://api.github.com/repos/yuki24/rails/contributors","subscribers_url":"https://api.github.com/repos/yuki24/rails/subscribers","subscription_url":"https://api.github.com/repos/yuki24/rails/subscription","commits_url":"https://api.github.com/repos/yuki24/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuki24/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuki24/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuki24/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuki24/rails/contents/{+path}","compare_url":"https://api.github.com/repos/yuki24/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuki24/rails/merges","archive_url":"https://api.github.com/repos/yuki24/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuki24/rails/downloads","issues_url":"https://api.github.com/repos/yuki24/rails/issues{/number}","pulls_url":"https://api.github.com/repos/yuki24/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/yuki24/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/yuki24/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuki24/rails/labels{/name}","releases_url":"https://api.github.com/repos/yuki24/rails/releases{/id}","deployments_url":"https://api.github.com/repos/yuki24/rails/deployments","created_at":"2012-06-04T11:33:47Z","updated_at":"2018-04-02T00:05:31Z","pushed_at":"2018-04-02T01:47:29Z","git_url":"git://github.com/yuki24/rails.git","ssh_url":"git@github.com:yuki24/rails.git","clone_url":"https://github.com/yuki24/rails.git","svn_url":"https://github.com/yuki24/rails","homepage":"http://rubyonrails.org","size":152628,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"rails:master","ref":"master","sha":"09b2348f7fc8d4e7191e70e06608c5909067e2aa","user":{"login":"rails","id":4223,"avatar_url":"https://avatars1.githubusercontent.com/u/4223?v=4","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars1.githubusercontent.com/u/4223?v=4","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","deployments_url":"https://api.github.com/repos/rails/rails/deployments","created_at":"2008-04-11T02:19:47Z","updated_at":"2018-04-02T14:18:31Z","pushed_at":"2018-04-02T14:17:56Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":160607,"stargazers_count":39157,"watchers_count":39157,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15828,"mirror_url":null,"archived":false,"open_issues_count":1075,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":15828,"open_issues":1075,"watchers":39157,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/32410"},"html":{"href":"https://github.com/rails/rails/pull/32410"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/32410"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/32410/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/32410/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/32410/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/75b81624fad811cb69f33728089a862f6931d433"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kaspth"}}