{"action":"created","comment":{"url":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/comments/197220202","pull_request_review_id":130911940,"id":197220202,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzIyMDIwMg==","diff_hunk":"@@ -0,0 +1,29 @@\n+const tape = require('tape');\n+const supertest = require('supertest');\n+const app = require('../../src/app');\n+\n+\n+tape('testing the error 404 display file', (t) => {\n+  supertest(app)\n+    .get('/*')\n+    .expect(200)\n+    .expect('content-type', 'text/html; charset=utf-8')\n+    .end((err, res) => {\n+      if (err) t.error(err);","path":"test/controllers/error.js","position":12,"original_position":12,"commit_id":"91c292a79dc585ee08719db65cf8c9a03a1ae0f6","original_commit_id":"91c292a79dc585ee08719db65cf8c9a03a1ae0f6","user":{"login":"NoureldeanSaed","id":28482442,"node_id":"MDQ6VXNlcjI4NDgyNDQy","avatar_url":"https://avatars0.githubusercontent.com/u/28482442?v=4","gravatar_id":"","url":"https://api.github.com/users/NoureldeanSaed","html_url":"https://github.com/NoureldeanSaed","followers_url":"https://api.github.com/users/NoureldeanSaed/followers","following_url":"https://api.github.com/users/NoureldeanSaed/following{/other_user}","gists_url":"https://api.github.com/users/NoureldeanSaed/gists{/gist_id}","starred_url":"https://api.github.com/users/NoureldeanSaed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoureldeanSaed/subscriptions","organizations_url":"https://api.github.com/users/NoureldeanSaed/orgs","repos_url":"https://api.github.com/users/NoureldeanSaed/repos","events_url":"https://api.github.com/users/NoureldeanSaed/events{/privacy}","received_events_url":"https://api.github.com/users/NoureldeanSaed/received_events","type":"User","site_admin":false},"body":"```node\r\nif (err) return t.error(err);\r\n```\r\nSo that it stops executing if an error occurred.","created_at":"2018-06-21T17:41:32Z","updated_at":"2018-06-21T17:53:37Z","html_url":"https://github.com/FACG4/gsg_narrowcast/pull/33#discussion_r197220202","pull_request_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/33","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/comments/197220202"},"html":{"href":"https://github.com/FACG4/gsg_narrowcast/pull/33#discussion_r197220202"},"pull_request":{"href":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/33","id":196421113,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NDIxMTEz","html_url":"https://github.com/FACG4/gsg_narrowcast/pull/33","diff_url":"https://github.com/FACG4/gsg_narrowcast/pull/33.diff","patch_url":"https://github.com/FACG4/gsg_narrowcast/pull/33.patch","issue_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/issues/33","number":33,"state":"open","locked":false,"title":"refactored the database schemas, added generic error 404 and server e…","user":{"login":"FarahZaqout","id":25854070,"node_id":"MDQ6VXNlcjI1ODU0MDcw","avatar_url":"https://avatars0.githubusercontent.com/u/25854070?v=4","gravatar_id":"","url":"https://api.github.com/users/FarahZaqout","html_url":"https://github.com/FarahZaqout","followers_url":"https://api.github.com/users/FarahZaqout/followers","following_url":"https://api.github.com/users/FarahZaqout/following{/other_user}","gists_url":"https://api.github.com/users/FarahZaqout/gists{/gist_id}","starred_url":"https://api.github.com/users/FarahZaqout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FarahZaqout/subscriptions","organizations_url":"https://api.github.com/users/FarahZaqout/orgs","repos_url":"https://api.github.com/users/FarahZaqout/repos","events_url":"https://api.github.com/users/FarahZaqout/events{/privacy}","received_events_url":"https://api.github.com/users/FarahZaqout/received_events","type":"User","site_admin":false},"body":"…rror middlewares, and added route testing for the 404 display page and the home display page.","created_at":"2018-06-21T11:29:52Z","updated_at":"2018-06-21T17:53:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b9e455cefe702c0ca09f0eafaa35c371a6f599a","assignee":{"login":"NoureldeanSaed","id":28482442,"node_id":"MDQ6VXNlcjI4NDgyNDQy","avatar_url":"https://avatars0.githubusercontent.com/u/28482442?v=4","gravatar_id":"","url":"https://api.github.com/users/NoureldeanSaed","html_url":"https://github.com/NoureldeanSaed","followers_url":"https://api.github.com/users/NoureldeanSaed/followers","following_url":"https://api.github.com/users/NoureldeanSaed/following{/other_user}","gists_url":"https://api.github.com/users/NoureldeanSaed/gists{/gist_id}","starred_url":"https://api.github.com/users/NoureldeanSaed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoureldeanSaed/subscriptions","organizations_url":"https://api.github.com/users/NoureldeanSaed/orgs","repos_url":"https://api.github.com/users/NoureldeanSaed/repos","events_url":"https://api.github.com/users/NoureldeanSaed/events{/privacy}","received_events_url":"https://api.github.com/users/NoureldeanSaed/received_events","type":"User","site_admin":false},"assignees":[{"login":"NoureldeanSaed","id":28482442,"node_id":"MDQ6VXNlcjI4NDgyNDQy","avatar_url":"https://avatars0.githubusercontent.com/u/28482442?v=4","gravatar_id":"","url":"https://api.github.com/users/NoureldeanSaed","html_url":"https://github.com/NoureldeanSaed","followers_url":"https://api.github.com/users/NoureldeanSaed/followers","following_url":"https://api.github.com/users/NoureldeanSaed/following{/other_user}","gists_url":"https://api.github.com/users/NoureldeanSaed/gists{/gist_id}","starred_url":"https://api.github.com/users/NoureldeanSaed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoureldeanSaed/subscriptions","organizations_url":"https://api.github.com/users/NoureldeanSaed/orgs","repos_url":"https://api.github.com/users/NoureldeanSaed/repos","events_url":"https://api.github.com/users/NoureldeanSaed/events{/privacy}","received_events_url":"https://api.github.com/users/NoureldeanSaed/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/33/commits","review_comments_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/33/comments","review_comment_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/issues/33/comments","statuses_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/statuses/91c292a79dc585ee08719db65cf8c9a03a1ae0f6","head":{"label":"FACG4:refactoring-db","ref":"refactoring-db","sha":"91c292a79dc585ee08719db65cf8c9a03a1ae0f6","user":{"login":"FACG4","id":37267768,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjY3NzY4","avatar_url":"https://avatars3.githubusercontent.com/u/37267768?v=4","gravatar_id":"","url":"https://api.github.com/users/FACG4","html_url":"https://github.com/FACG4","followers_url":"https://api.github.com/users/FACG4/followers","following_url":"https://api.github.com/users/FACG4/following{/other_user}","gists_url":"https://api.github.com/users/FACG4/gists{/gist_id}","starred_url":"https://api.github.com/users/FACG4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FACG4/subscriptions","organizations_url":"https://api.github.com/users/FACG4/orgs","repos_url":"https://api.github.com/users/FACG4/repos","events_url":"https://api.github.com/users/FACG4/events{/privacy}","received_events_url":"https://api.github.com/users/FACG4/received_events","type":"Organization","site_admin":false},"repo":{"id":135897030,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU4OTcwMzA=","name":"gsg_narrowcast","full_name":"FACG4/gsg_narrowcast","owner":{"login":"FACG4","id":37267768,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjY3NzY4","avatar_url":"https://avatars3.githubusercontent.com/u/37267768?v=4","gravatar_id":"","url":"https://api.github.com/users/FACG4","html_url":"https://github.com/FACG4","followers_url":"https://api.github.com/users/FACG4/followers","following_url":"https://api.github.com/users/FACG4/following{/other_user}","gists_url":"https://api.github.com/users/FACG4/gists{/gist_id}","starred_url":"https://api.github.com/users/FACG4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FACG4/subscriptions","organizations_url":"https://api.github.com/users/FACG4/orgs","repos_url":"https://api.github.com/users/FACG4/repos","events_url":"https://api.github.com/users/FACG4/events{/privacy}","received_events_url":"https://api.github.com/users/FACG4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FACG4/gsg_narrowcast","description":" An app that allows you to quickly and effortlessly learn about all upcoming events held in GSG","fork":false,"url":"https://api.github.com/repos/FACG4/gsg_narrowcast","forks_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/forks","keys_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/teams","hooks_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/hooks","issue_events_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/issues/events{/number}","events_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/events","assignees_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/assignees{/user}","branches_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/branches{/branch}","tags_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/tags","blobs_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/git/refs{/sha}","trees_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/statuses/{sha}","languages_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/languages","stargazers_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/stargazers","contributors_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/contributors","subscribers_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/subscribers","subscription_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/subscription","commits_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/commits{/sha}","git_commits_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/git/commits{/sha}","comments_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/comments{/number}","issue_comment_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/issues/comments{/number}","contents_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/contents/{+path}","compare_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/merges","archive_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/downloads","issues_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/issues{/number}","pulls_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls{/number}","milestones_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/milestones{/number}","notifications_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/labels{/name}","releases_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/releases{/id}","deployments_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/deployments","created_at":"2018-06-03T11:10:24Z","updated_at":"2018-06-13T10:50:38Z","pushed_at":"2018-06-21T11:29:52Z","git_url":"git://github.com/FACG4/gsg_narrowcast.git","ssh_url":"git@github.com:FACG4/gsg_narrowcast.git","clone_url":"https://github.com/FACG4/gsg_narrowcast.git","svn_url":"https://github.com/FACG4/gsg_narrowcast","homepage":"","size":8231,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":0,"open_issues":22,"watchers":0,"default_branch":"master"}},"base":{"label":"FACG4:master","ref":"master","sha":"c39669a34cf8747b921fee0cb7c7df52f1756c37","user":{"login":"FACG4","id":37267768,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjY3NzY4","avatar_url":"https://avatars3.githubusercontent.com/u/37267768?v=4","gravatar_id":"","url":"https://api.github.com/users/FACG4","html_url":"https://github.com/FACG4","followers_url":"https://api.github.com/users/FACG4/followers","following_url":"https://api.github.com/users/FACG4/following{/other_user}","gists_url":"https://api.github.com/users/FACG4/gists{/gist_id}","starred_url":"https://api.github.com/users/FACG4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FACG4/subscriptions","organizations_url":"https://api.github.com/users/FACG4/orgs","repos_url":"https://api.github.com/users/FACG4/repos","events_url":"https://api.github.com/users/FACG4/events{/privacy}","received_events_url":"https://api.github.com/users/FACG4/received_events","type":"Organization","site_admin":false},"repo":{"id":135897030,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU4OTcwMzA=","name":"gsg_narrowcast","full_name":"FACG4/gsg_narrowcast","owner":{"login":"FACG4","id":37267768,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjY3NzY4","avatar_url":"https://avatars3.githubusercontent.com/u/37267768?v=4","gravatar_id":"","url":"https://api.github.com/users/FACG4","html_url":"https://github.com/FACG4","followers_url":"https://api.github.com/users/FACG4/followers","following_url":"https://api.github.com/users/FACG4/following{/other_user}","gists_url":"https://api.github.com/users/FACG4/gists{/gist_id}","starred_url":"https://api.github.com/users/FACG4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FACG4/subscriptions","organizations_url":"https://api.github.com/users/FACG4/orgs","repos_url":"https://api.github.com/users/FACG4/repos","events_url":"https://api.github.com/users/FACG4/events{/privacy}","received_events_url":"https://api.github.com/users/FACG4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FACG4/gsg_narrowcast","description":" An app that allows you to quickly and effortlessly learn about all upcoming events held in GSG","fork":false,"url":"https://api.github.com/repos/FACG4/gsg_narrowcast","forks_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/forks","keys_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/teams","hooks_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/hooks","issue_events_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/issues/events{/number}","events_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/events","assignees_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/assignees{/user}","branches_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/branches{/branch}","tags_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/tags","blobs_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/git/refs{/sha}","trees_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/statuses/{sha}","languages_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/languages","stargazers_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/stargazers","contributors_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/contributors","subscribers_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/subscribers","subscription_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/subscription","commits_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/commits{/sha}","git_commits_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/git/commits{/sha}","comments_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/comments{/number}","issue_comment_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/issues/comments{/number}","contents_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/contents/{+path}","compare_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/merges","archive_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/downloads","issues_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/issues{/number}","pulls_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls{/number}","milestones_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/milestones{/number}","notifications_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/labels{/name}","releases_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/releases{/id}","deployments_url":"https://api.github.com/repos/FACG4/gsg_narrowcast/deployments","created_at":"2018-06-03T11:10:24Z","updated_at":"2018-06-13T10:50:38Z","pushed_at":"2018-06-21T11:29:52Z","git_url":"git://github.com/FACG4/gsg_narrowcast.git","ssh_url":"git@github.com:FACG4/gsg_narrowcast.git","clone_url":"https://github.com/FACG4/gsg_narrowcast.git","svn_url":"https://github.com/FACG4/gsg_narrowcast","homepage":"","size":8231,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":0,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/33"},"html":{"href":"https://github.com/FACG4/gsg_narrowcast/pull/33"},"issue":{"href":"https://api.github.com/repos/FACG4/gsg_narrowcast/issues/33"},"comments":{"href":"https://api.github.com/repos/FACG4/gsg_narrowcast/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FACG4/gsg_narrowcast/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/FACG4/gsg_narrowcast/statuses/91c292a79dc585ee08719db65cf8c9a03a1ae0f6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"NoureldeanSaed"}}