{"action":"created","comment":{"url":"https://api.github.com/repos/koajs/onerror/pulls/comments/84037899","pull_request_review_id":4839842,"id":84037899,"diff_hunk":"@@ -62,7 +62,6 @@ onerror(app, options);\n * **text**: text error handler\n * **json**: json error handler\n * **html**: html error handler\n-* **template**: default html error handler template path","path":"README.md","position":4,"original_position":4,"commit_id":"84768c0dbfd973ff81f8cefe1771e053e79342e8","original_commit_id":"84768c0dbfd973ff81f8cefe1771e053e79342e8","user":{"login":"fengmk2","id":156269,"avatar_url":"https://avatars.githubusercontent.com/u/156269?v=3","gravatar_id":"","url":"https://api.github.com/users/fengmk2","html_url":"https://github.com/fengmk2","followers_url":"https://api.github.com/users/fengmk2/followers","following_url":"https://api.github.com/users/fengmk2/following{/other_user}","gists_url":"https://api.github.com/users/fengmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/fengmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengmk2/subscriptions","organizations_url":"https://api.github.com/users/fengmk2/orgs","repos_url":"https://api.github.com/users/fengmk2/repos","events_url":"https://api.github.com/users/fengmk2/events{/privacy}","received_events_url":"https://api.github.com/users/fengmk2/received_events","type":"User","site_admin":false},"body":"major change","created_at":"2016-10-19T10:12:11Z","updated_at":"2016-10-19T10:12:11Z","html_url":"https://github.com/koajs/onerror/pull/14#discussion_r84037899","pull_request_url":"https://api.github.com/repos/koajs/onerror/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/koajs/onerror/pulls/comments/84037899"},"html":{"href":"https://github.com/koajs/onerror/pull/14#discussion_r84037899"},"pull_request":{"href":"https://api.github.com/repos/koajs/onerror/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/koajs/onerror/pulls/14","id":89961257,"html_url":"https://github.com/koajs/onerror/pull/14","diff_url":"https://github.com/koajs/onerror/pull/14.diff","patch_url":"https://github.com/koajs/onerror/pull/14.patch","issue_url":"https://api.github.com/repos/koajs/onerror/issues/14","number":14,"state":"open","locked":false,"title":"refactor: remove nunjucks","user":{"login":"dead-horse","id":985607,"avatar_url":"https://avatars.githubusercontent.com/u/985607?v=3","gravatar_id":"","url":"https://api.github.com/users/dead-horse","html_url":"https://github.com/dead-horse","followers_url":"https://api.github.com/users/dead-horse/followers","following_url":"https://api.github.com/users/dead-horse/following{/other_user}","gists_url":"https://api.github.com/users/dead-horse/gists{/gist_id}","starred_url":"https://api.github.com/users/dead-horse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dead-horse/subscriptions","organizations_url":"https://api.github.com/users/dead-horse/orgs","repos_url":"https://api.github.com/users/dead-horse/repos","events_url":"https://api.github.com/users/dead-horse/events{/privacy}","received_events_url":"https://api.github.com/users/dead-horse/received_events","type":"User","site_admin":false},"body":"1. remove nunjucks and options.template support.\r\n2. add ctx as the second argument to custom handlers to be friendly with arrow functions.","created_at":"2016-10-19T08:18:30Z","updated_at":"2016-10-19T10:12:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"739ea33a6f138b5b1e7808a6da786e7c75e78074","assignee":{"login":"fengmk2","id":156269,"avatar_url":"https://avatars.githubusercontent.com/u/156269?v=3","gravatar_id":"","url":"https://api.github.com/users/fengmk2","html_url":"https://github.com/fengmk2","followers_url":"https://api.github.com/users/fengmk2/followers","following_url":"https://api.github.com/users/fengmk2/following{/other_user}","gists_url":"https://api.github.com/users/fengmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/fengmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengmk2/subscriptions","organizations_url":"https://api.github.com/users/fengmk2/orgs","repos_url":"https://api.github.com/users/fengmk2/repos","events_url":"https://api.github.com/users/fengmk2/events{/privacy}","received_events_url":"https://api.github.com/users/fengmk2/received_events","type":"User","site_admin":false},"assignees":[{"login":"fengmk2","id":156269,"avatar_url":"https://avatars.githubusercontent.com/u/156269?v=3","gravatar_id":"","url":"https://api.github.com/users/fengmk2","html_url":"https://github.com/fengmk2","followers_url":"https://api.github.com/users/fengmk2/followers","following_url":"https://api.github.com/users/fengmk2/following{/other_user}","gists_url":"https://api.github.com/users/fengmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/fengmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengmk2/subscriptions","organizations_url":"https://api.github.com/users/fengmk2/orgs","repos_url":"https://api.github.com/users/fengmk2/repos","events_url":"https://api.github.com/users/fengmk2/events{/privacy}","received_events_url":"https://api.github.com/users/fengmk2/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/koajs/onerror/pulls/14/commits","review_comments_url":"https://api.github.com/repos/koajs/onerror/pulls/14/comments","review_comment_url":"https://api.github.com/repos/koajs/onerror/pulls/comments{/number}","comments_url":"https://api.github.com/repos/koajs/onerror/issues/14/comments","statuses_url":"https://api.github.com/repos/koajs/onerror/statuses/84768c0dbfd973ff81f8cefe1771e053e79342e8","head":{"label":"koajs:refactor-remove-nunjucks","ref":"refactor-remove-nunjucks","sha":"84768c0dbfd973ff81f8cefe1771e053e79342e8","user":{"login":"koajs","id":5055057,"avatar_url":"https://avatars.githubusercontent.com/u/5055057?v=3","gravatar_id":"","url":"https://api.github.com/users/koajs","html_url":"https://github.com/koajs","followers_url":"https://api.github.com/users/koajs/followers","following_url":"https://api.github.com/users/koajs/following{/other_user}","gists_url":"https://api.github.com/users/koajs/gists{/gist_id}","starred_url":"https://api.github.com/users/koajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koajs/subscriptions","organizations_url":"https://api.github.com/users/koajs/orgs","repos_url":"https://api.github.com/users/koajs/repos","events_url":"https://api.github.com/users/koajs/events{/privacy}","received_events_url":"https://api.github.com/users/koajs/received_events","type":"Organization","site_admin":false},"repo":{"id":18875955,"name":"onerror","full_name":"koajs/onerror","owner":{"login":"koajs","id":5055057,"avatar_url":"https://avatars.githubusercontent.com/u/5055057?v=3","gravatar_id":"","url":"https://api.github.com/users/koajs","html_url":"https://github.com/koajs","followers_url":"https://api.github.com/users/koajs/followers","following_url":"https://api.github.com/users/koajs/following{/other_user}","gists_url":"https://api.github.com/users/koajs/gists{/gist_id}","starred_url":"https://api.github.com/users/koajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koajs/subscriptions","organizations_url":"https://api.github.com/users/koajs/orgs","repos_url":"https://api.github.com/users/koajs/repos","events_url":"https://api.github.com/users/koajs/events{/privacy}","received_events_url":"https://api.github.com/users/koajs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/koajs/onerror","description":"an error handler for koa, hack ctx.onerror","fork":false,"url":"https://api.github.com/repos/koajs/onerror","forks_url":"https://api.github.com/repos/koajs/onerror/forks","keys_url":"https://api.github.com/repos/koajs/onerror/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koajs/onerror/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koajs/onerror/teams","hooks_url":"https://api.github.com/repos/koajs/onerror/hooks","issue_events_url":"https://api.github.com/repos/koajs/onerror/issues/events{/number}","events_url":"https://api.github.com/repos/koajs/onerror/events","assignees_url":"https://api.github.com/repos/koajs/onerror/assignees{/user}","branches_url":"https://api.github.com/repos/koajs/onerror/branches{/branch}","tags_url":"https://api.github.com/repos/koajs/onerror/tags","blobs_url":"https://api.github.com/repos/koajs/onerror/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koajs/onerror/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koajs/onerror/git/refs{/sha}","trees_url":"https://api.github.com/repos/koajs/onerror/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koajs/onerror/statuses/{sha}","languages_url":"https://api.github.com/repos/koajs/onerror/languages","stargazers_url":"https://api.github.com/repos/koajs/onerror/stargazers","contributors_url":"https://api.github.com/repos/koajs/onerror/contributors","subscribers_url":"https://api.github.com/repos/koajs/onerror/subscribers","subscription_url":"https://api.github.com/repos/koajs/onerror/subscription","commits_url":"https://api.github.com/repos/koajs/onerror/commits{/sha}","git_commits_url":"https://api.github.com/repos/koajs/onerror/git/commits{/sha}","comments_url":"https://api.github.com/repos/koajs/onerror/comments{/number}","issue_comment_url":"https://api.github.com/repos/koajs/onerror/issues/comments{/number}","contents_url":"https://api.github.com/repos/koajs/onerror/contents/{+path}","compare_url":"https://api.github.com/repos/koajs/onerror/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koajs/onerror/merges","archive_url":"https://api.github.com/repos/koajs/onerror/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koajs/onerror/downloads","issues_url":"https://api.github.com/repos/koajs/onerror/issues{/number}","pulls_url":"https://api.github.com/repos/koajs/onerror/pulls{/number}","milestones_url":"https://api.github.com/repos/koajs/onerror/milestones{/number}","notifications_url":"https://api.github.com/repos/koajs/onerror/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koajs/onerror/labels{/name}","releases_url":"https://api.github.com/repos/koajs/onerror/releases{/id}","deployments_url":"https://api.github.com/repos/koajs/onerror/deployments","created_at":"2014-04-17T11:23:47Z","updated_at":"2016-10-03T18:04:52Z","pushed_at":"2016-10-19T09:43:00Z","git_url":"git://github.com/koajs/onerror.git","ssh_url":"git@github.com:koajs/onerror.git","clone_url":"https://github.com/koajs/onerror.git","svn_url":"https://github.com/koajs/onerror","homepage":null,"size":43,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":29,"default_branch":"master"}},"base":{"label":"koajs:master","ref":"master","sha":"d3495532f35131bac19f825cf86d44f2233be416","user":{"login":"koajs","id":5055057,"avatar_url":"https://avatars.githubusercontent.com/u/5055057?v=3","gravatar_id":"","url":"https://api.github.com/users/koajs","html_url":"https://github.com/koajs","followers_url":"https://api.github.com/users/koajs/followers","following_url":"https://api.github.com/users/koajs/following{/other_user}","gists_url":"https://api.github.com/users/koajs/gists{/gist_id}","starred_url":"https://api.github.com/users/koajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koajs/subscriptions","organizations_url":"https://api.github.com/users/koajs/orgs","repos_url":"https://api.github.com/users/koajs/repos","events_url":"https://api.github.com/users/koajs/events{/privacy}","received_events_url":"https://api.github.com/users/koajs/received_events","type":"Organization","site_admin":false},"repo":{"id":18875955,"name":"onerror","full_name":"koajs/onerror","owner":{"login":"koajs","id":5055057,"avatar_url":"https://avatars.githubusercontent.com/u/5055057?v=3","gravatar_id":"","url":"https://api.github.com/users/koajs","html_url":"https://github.com/koajs","followers_url":"https://api.github.com/users/koajs/followers","following_url":"https://api.github.com/users/koajs/following{/other_user}","gists_url":"https://api.github.com/users/koajs/gists{/gist_id}","starred_url":"https://api.github.com/users/koajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koajs/subscriptions","organizations_url":"https://api.github.com/users/koajs/orgs","repos_url":"https://api.github.com/users/koajs/repos","events_url":"https://api.github.com/users/koajs/events{/privacy}","received_events_url":"https://api.github.com/users/koajs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/koajs/onerror","description":"an error handler for koa, hack ctx.onerror","fork":false,"url":"https://api.github.com/repos/koajs/onerror","forks_url":"https://api.github.com/repos/koajs/onerror/forks","keys_url":"https://api.github.com/repos/koajs/onerror/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koajs/onerror/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koajs/onerror/teams","hooks_url":"https://api.github.com/repos/koajs/onerror/hooks","issue_events_url":"https://api.github.com/repos/koajs/onerror/issues/events{/number}","events_url":"https://api.github.com/repos/koajs/onerror/events","assignees_url":"https://api.github.com/repos/koajs/onerror/assignees{/user}","branches_url":"https://api.github.com/repos/koajs/onerror/branches{/branch}","tags_url":"https://api.github.com/repos/koajs/onerror/tags","blobs_url":"https://api.github.com/repos/koajs/onerror/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koajs/onerror/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koajs/onerror/git/refs{/sha}","trees_url":"https://api.github.com/repos/koajs/onerror/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koajs/onerror/statuses/{sha}","languages_url":"https://api.github.com/repos/koajs/onerror/languages","stargazers_url":"https://api.github.com/repos/koajs/onerror/stargazers","contributors_url":"https://api.github.com/repos/koajs/onerror/contributors","subscribers_url":"https://api.github.com/repos/koajs/onerror/subscribers","subscription_url":"https://api.github.com/repos/koajs/onerror/subscription","commits_url":"https://api.github.com/repos/koajs/onerror/commits{/sha}","git_commits_url":"https://api.github.com/repos/koajs/onerror/git/commits{/sha}","comments_url":"https://api.github.com/repos/koajs/onerror/comments{/number}","issue_comment_url":"https://api.github.com/repos/koajs/onerror/issues/comments{/number}","contents_url":"https://api.github.com/repos/koajs/onerror/contents/{+path}","compare_url":"https://api.github.com/repos/koajs/onerror/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koajs/onerror/merges","archive_url":"https://api.github.com/repos/koajs/onerror/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koajs/onerror/downloads","issues_url":"https://api.github.com/repos/koajs/onerror/issues{/number}","pulls_url":"https://api.github.com/repos/koajs/onerror/pulls{/number}","milestones_url":"https://api.github.com/repos/koajs/onerror/milestones{/number}","notifications_url":"https://api.github.com/repos/koajs/onerror/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koajs/onerror/labels{/name}","releases_url":"https://api.github.com/repos/koajs/onerror/releases{/id}","deployments_url":"https://api.github.com/repos/koajs/onerror/deployments","created_at":"2014-04-17T11:23:47Z","updated_at":"2016-10-03T18:04:52Z","pushed_at":"2016-10-19T09:43:00Z","git_url":"git://github.com/koajs/onerror.git","ssh_url":"git@github.com:koajs/onerror.git","clone_url":"https://github.com/koajs/onerror.git","svn_url":"https://github.com/koajs/onerror","homepage":null,"size":43,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/koajs/onerror/pulls/14"},"html":{"href":"https://github.com/koajs/onerror/pull/14"},"issue":{"href":"https://api.github.com/repos/koajs/onerror/issues/14"},"comments":{"href":"https://api.github.com/repos/koajs/onerror/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/koajs/onerror/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/koajs/onerror/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/koajs/onerror/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/koajs/onerror/statuses/84768c0dbfd973ff81f8cefe1771e053e79342e8"}}}}
{"actor":{"display_login":"fengmk2"}}