{"action":"created","comment":{"url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/comments/165817977","pull_request_review_id":93820037,"id":165817977,"diff_hunk":"@@ -31,7 +31,8 @@ app.use(function(err, req, res, next) {\n   res.locals.message = err.message;\n   res.locals.error = req.app.get('env') === 'development' ? err : {};\n   res.status(err.status || 500);\n-  res.send(err);\n+  console.log(err);","path":"app.js","position":5,"original_position":5,"commit_id":"c03865cbeda1518146d6c11efdedcfe0faf80688","original_commit_id":"c03865cbeda1518146d6c11efdedcfe0faf80688","user":{"login":"tungnt-580","id":10634818,"avatar_url":"https://avatars0.githubusercontent.com/u/10634818?v=4","gravatar_id":"","url":"https://api.github.com/users/tungnt-580","html_url":"https://github.com/tungnt-580","followers_url":"https://api.github.com/users/tungnt-580/followers","following_url":"https://api.github.com/users/tungnt-580/following{/other_user}","gists_url":"https://api.github.com/users/tungnt-580/gists{/gist_id}","starred_url":"https://api.github.com/users/tungnt-580/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tungnt-580/subscriptions","organizations_url":"https://api.github.com/users/tungnt-580/orgs","repos_url":"https://api.github.com/users/tungnt-580/repos","events_url":"https://api.github.com/users/tungnt-580/events{/privacy}","received_events_url":"https://api.github.com/users/tungnt-580/received_events","type":"User","site_admin":false},"body":"remove console.log, I've setup logger and make a pull request for it","created_at":"2018-02-03T15:59:03Z","updated_at":"2018-02-03T15:59:03Z","html_url":"https://github.com/ngminhtrung/fcchn-blog-backend/pull/37#discussion_r165817977","pull_request_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/37","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/comments/165817977"},"html":{"href":"https://github.com/ngminhtrung/fcchn-blog-backend/pull/37#discussion_r165817977"},"pull_request":{"href":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/37","id":166952434,"html_url":"https://github.com/ngminhtrung/fcchn-blog-backend/pull/37","diff_url":"https://github.com/ngminhtrung/fcchn-blog-backend/pull/37.diff","patch_url":"https://github.com/ngminhtrung/fcchn-blog-backend/pull/37.patch","issue_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/issues/37","number":37,"state":"open","locked":false,"title":"Develop CRUD Post","user":{"login":"vutung3196","id":24209332,"avatar_url":"https://avatars0.githubusercontent.com/u/24209332?v=4","gravatar_id":"","url":"https://api.github.com/users/vutung3196","html_url":"https://github.com/vutung3196","followers_url":"https://api.github.com/users/vutung3196/followers","following_url":"https://api.github.com/users/vutung3196/following{/other_user}","gists_url":"https://api.github.com/users/vutung3196/gists{/gist_id}","starred_url":"https://api.github.com/users/vutung3196/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vutung3196/subscriptions","organizations_url":"https://api.github.com/users/vutung3196/orgs","repos_url":"https://api.github.com/users/vutung3196/repos","events_url":"https://api.github.com/users/vutung3196/events{/privacy}","received_events_url":"https://api.github.com/users/vutung3196/received_events","type":"User","site_admin":false},"body":"Create a post.\r\nRead a post by id.\r\nUpdate a post by id.\r\nDelete a post by id.","created_at":"2018-02-03T08:09:17Z","updated_at":"2018-02-03T15:59:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebbbfb1b5a31ca5b64627c6fc71574677d6931be","assignee":{"login":"vutung3196","id":24209332,"avatar_url":"https://avatars0.githubusercontent.com/u/24209332?v=4","gravatar_id":"","url":"https://api.github.com/users/vutung3196","html_url":"https://github.com/vutung3196","followers_url":"https://api.github.com/users/vutung3196/followers","following_url":"https://api.github.com/users/vutung3196/following{/other_user}","gists_url":"https://api.github.com/users/vutung3196/gists{/gist_id}","starred_url":"https://api.github.com/users/vutung3196/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vutung3196/subscriptions","organizations_url":"https://api.github.com/users/vutung3196/orgs","repos_url":"https://api.github.com/users/vutung3196/repos","events_url":"https://api.github.com/users/vutung3196/events{/privacy}","received_events_url":"https://api.github.com/users/vutung3196/received_events","type":"User","site_admin":false},"assignees":[{"login":"vutung3196","id":24209332,"avatar_url":"https://avatars0.githubusercontent.com/u/24209332?v=4","gravatar_id":"","url":"https://api.github.com/users/vutung3196","html_url":"https://github.com/vutung3196","followers_url":"https://api.github.com/users/vutung3196/followers","following_url":"https://api.github.com/users/vutung3196/following{/other_user}","gists_url":"https://api.github.com/users/vutung3196/gists{/gist_id}","starred_url":"https://api.github.com/users/vutung3196/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vutung3196/subscriptions","organizations_url":"https://api.github.com/users/vutung3196/orgs","repos_url":"https://api.github.com/users/vutung3196/repos","events_url":"https://api.github.com/users/vutung3196/events{/privacy}","received_events_url":"https://api.github.com/users/vutung3196/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ngminhtrung","id":7209436,"avatar_url":"https://avatars3.githubusercontent.com/u/7209436?v=4","gravatar_id":"","url":"https://api.github.com/users/ngminhtrung","html_url":"https://github.com/ngminhtrung","followers_url":"https://api.github.com/users/ngminhtrung/followers","following_url":"https://api.github.com/users/ngminhtrung/following{/other_user}","gists_url":"https://api.github.com/users/ngminhtrung/gists{/gist_id}","starred_url":"https://api.github.com/users/ngminhtrung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngminhtrung/subscriptions","organizations_url":"https://api.github.com/users/ngminhtrung/orgs","repos_url":"https://api.github.com/users/ngminhtrung/repos","events_url":"https://api.github.com/users/ngminhtrung/events{/privacy}","received_events_url":"https://api.github.com/users/ngminhtrung/received_events","type":"User","site_admin":false},{"login":"thelonglqd","id":13036097,"avatar_url":"https://avatars0.githubusercontent.com/u/13036097?v=4","gravatar_id":"","url":"https://api.github.com/users/thelonglqd","html_url":"https://github.com/thelonglqd","followers_url":"https://api.github.com/users/thelonglqd/followers","following_url":"https://api.github.com/users/thelonglqd/following{/other_user}","gists_url":"https://api.github.com/users/thelonglqd/gists{/gist_id}","starred_url":"https://api.github.com/users/thelonglqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelonglqd/subscriptions","organizations_url":"https://api.github.com/users/thelonglqd/orgs","repos_url":"https://api.github.com/users/thelonglqd/repos","events_url":"https://api.github.com/users/thelonglqd/events{/privacy}","received_events_url":"https://api.github.com/users/thelonglqd/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/37/commits","review_comments_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/37/comments","review_comment_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/issues/37/comments","statuses_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/statuses/c03865cbeda1518146d6c11efdedcfe0faf80688","head":{"label":"vutung3196:tungvu-crudpost","ref":"tungvu-crudpost","sha":"c03865cbeda1518146d6c11efdedcfe0faf80688","user":{"login":"vutung3196","id":24209332,"avatar_url":"https://avatars0.githubusercontent.com/u/24209332?v=4","gravatar_id":"","url":"https://api.github.com/users/vutung3196","html_url":"https://github.com/vutung3196","followers_url":"https://api.github.com/users/vutung3196/followers","following_url":"https://api.github.com/users/vutung3196/following{/other_user}","gists_url":"https://api.github.com/users/vutung3196/gists{/gist_id}","starred_url":"https://api.github.com/users/vutung3196/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vutung3196/subscriptions","organizations_url":"https://api.github.com/users/vutung3196/orgs","repos_url":"https://api.github.com/users/vutung3196/repos","events_url":"https://api.github.com/users/vutung3196/events{/privacy}","received_events_url":"https://api.github.com/users/vutung3196/received_events","type":"User","site_admin":false},"repo":{"id":117841537,"name":"fcchn-blog-backend","full_name":"vutung3196/fcchn-blog-backend","owner":{"login":"vutung3196","id":24209332,"avatar_url":"https://avatars0.githubusercontent.com/u/24209332?v=4","gravatar_id":"","url":"https://api.github.com/users/vutung3196","html_url":"https://github.com/vutung3196","followers_url":"https://api.github.com/users/vutung3196/followers","following_url":"https://api.github.com/users/vutung3196/following{/other_user}","gists_url":"https://api.github.com/users/vutung3196/gists{/gist_id}","starred_url":"https://api.github.com/users/vutung3196/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vutung3196/subscriptions","organizations_url":"https://api.github.com/users/vutung3196/orgs","repos_url":"https://api.github.com/users/vutung3196/repos","events_url":"https://api.github.com/users/vutung3196/events{/privacy}","received_events_url":"https://api.github.com/users/vutung3196/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vutung3196/fcchn-blog-backend","description":"freeCodeCamp Hanoi - Blog app - Back-end part","fork":true,"url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend","forks_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/forks","keys_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/teams","hooks_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/hooks","issue_events_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/issues/events{/number}","events_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/events","assignees_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/assignees{/user}","branches_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/branches{/branch}","tags_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/tags","blobs_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/languages","stargazers_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/stargazers","contributors_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/contributors","subscribers_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/subscribers","subscription_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/subscription","commits_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/contents/{+path}","compare_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/merges","archive_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/downloads","issues_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/issues{/number}","pulls_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/labels{/name}","releases_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/releases{/id}","deployments_url":"https://api.github.com/repos/vutung3196/fcchn-blog-backend/deployments","created_at":"2018-01-17T13:41:24Z","updated_at":"2018-01-15T06:33:12Z","pushed_at":"2018-02-03T08:07:26Z","git_url":"git://github.com/vutung3196/fcchn-blog-backend.git","ssh_url":"git@github.com:vutung3196/fcchn-blog-backend.git","clone_url":"https://github.com/vutung3196/fcchn-blog-backend.git","svn_url":"https://github.com/vutung3196/fcchn-blog-backend","homepage":null,"size":76,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ngminhtrung:develop","ref":"develop","sha":"112c80ed51bcfc03e4453c8d37ed6fb0915874d4","user":{"login":"ngminhtrung","id":7209436,"avatar_url":"https://avatars3.githubusercontent.com/u/7209436?v=4","gravatar_id":"","url":"https://api.github.com/users/ngminhtrung","html_url":"https://github.com/ngminhtrung","followers_url":"https://api.github.com/users/ngminhtrung/followers","following_url":"https://api.github.com/users/ngminhtrung/following{/other_user}","gists_url":"https://api.github.com/users/ngminhtrung/gists{/gist_id}","starred_url":"https://api.github.com/users/ngminhtrung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngminhtrung/subscriptions","organizations_url":"https://api.github.com/users/ngminhtrung/orgs","repos_url":"https://api.github.com/users/ngminhtrung/repos","events_url":"https://api.github.com/users/ngminhtrung/events{/privacy}","received_events_url":"https://api.github.com/users/ngminhtrung/received_events","type":"User","site_admin":false},"repo":{"id":116968512,"name":"fcchn-blog-backend","full_name":"ngminhtrung/fcchn-blog-backend","owner":{"login":"ngminhtrung","id":7209436,"avatar_url":"https://avatars3.githubusercontent.com/u/7209436?v=4","gravatar_id":"","url":"https://api.github.com/users/ngminhtrung","html_url":"https://github.com/ngminhtrung","followers_url":"https://api.github.com/users/ngminhtrung/followers","following_url":"https://api.github.com/users/ngminhtrung/following{/other_user}","gists_url":"https://api.github.com/users/ngminhtrung/gists{/gist_id}","starred_url":"https://api.github.com/users/ngminhtrung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngminhtrung/subscriptions","organizations_url":"https://api.github.com/users/ngminhtrung/orgs","repos_url":"https://api.github.com/users/ngminhtrung/repos","events_url":"https://api.github.com/users/ngminhtrung/events{/privacy}","received_events_url":"https://api.github.com/users/ngminhtrung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ngminhtrung/fcchn-blog-backend","description":"freeCodeCamp Hanoi - Blog app - Back-end part","fork":false,"url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend","forks_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/forks","keys_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/teams","hooks_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/hooks","issue_events_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/issues/events{/number}","events_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/events","assignees_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/assignees{/user}","branches_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/branches{/branch}","tags_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/tags","blobs_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/languages","stargazers_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/stargazers","contributors_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/contributors","subscribers_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/subscribers","subscription_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/subscription","commits_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/contents/{+path}","compare_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/merges","archive_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/downloads","issues_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/issues{/number}","pulls_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/labels{/name}","releases_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/releases{/id}","deployments_url":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/deployments","created_at":"2018-01-10T14:30:32Z","updated_at":"2018-01-31T12:41:42Z","pushed_at":"2018-02-03T08:09:17Z","git_url":"git://github.com/ngminhtrung/fcchn-blog-backend.git","ssh_url":"git@github.com:ngminhtrung/fcchn-blog-backend.git","clone_url":"https://github.com/ngminhtrung/fcchn-blog-backend.git","svn_url":"https://github.com/ngminhtrung/fcchn-blog-backend","homepage":null,"size":88,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":7,"open_issues":19,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/37"},"html":{"href":"https://github.com/ngminhtrung/fcchn-blog-backend/pull/37"},"issue":{"href":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/issues/37"},"comments":{"href":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/ngminhtrung/fcchn-blog-backend/statuses/c03865cbeda1518146d6c11efdedcfe0faf80688"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"tungnt-580"}}