{"action":"created","comment":{"url":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/comments/29247858","id":29247858,"diff_hunk":"@@ -19,7 +19,7 @@ Router.prototype.methods = ['get', 'post', 'put', 'delete', 'head',\n Router.prototype.add = function r_add(method, path, handler) {\n   method = method.toLowerCase();\n   if (this.methods.indexOf(method) === -1) {\n-    throw new Error('Method %s is not supported', method);","path":"lib/router.js","position":4,"original_position":4,"commit_id":"46e3a352a11e6530eaaf60f5f67abe9324454b17","original_commit_id":"6f7fafc6519b6cbc16a0f8f615156374ed8b6438","user":{"login":"JohanLorenzo","id":5907366,"avatar_url":"https://avatars.githubusercontent.com/u/5907366?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanLorenzo","html_url":"https://github.com/JohanLorenzo","followers_url":"https://api.github.com/users/JohanLorenzo/followers","following_url":"https://api.github.com/users/JohanLorenzo/following{/other_user}","gists_url":"https://api.github.com/users/JohanLorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanLorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanLorenzo/subscriptions","organizations_url":"https://api.github.com/users/JohanLorenzo/orgs","repos_url":"https://api.github.com/users/JohanLorenzo/repos","events_url":"https://api.github.com/users/JohanLorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/JohanLorenzo/received_events","type":"User","site_admin":false},"body":"I tried `new Error('Method', method, 'is not supported')`, the only exception message I have is 'Method'. @lodr are you sure it's the way to go?  ","created_at":"2015-04-28T14:30:14Z","updated_at":"2015-04-28T14:30:14Z","html_url":"https://github.com/arcturus/serviceworkerware/pull/15#discussion_r29247858","pull_request_url":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/comments/29247858"},"html":{"href":"https://github.com/arcturus/serviceworkerware/pull/15#discussion_r29247858"},"pull_request":{"href":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/15","id":34063394,"html_url":"https://github.com/arcturus/serviceworkerware/pull/15","diff_url":"https://github.com/arcturus/serviceworkerware/pull/15.diff","patch_url":"https://github.com/arcturus/serviceworkerware/pull/15.patch","issue_url":"https://api.github.com/repos/arcturus/serviceworkerware/issues/15","number":15,"state":"open","locked":false,"title":"Bug 1158220 - Add more unit tests to the router specs","user":{"login":"JohanLorenzo","id":5907366,"avatar_url":"https://avatars.githubusercontent.com/u/5907366?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanLorenzo","html_url":"https://github.com/JohanLorenzo","followers_url":"https://api.github.com/users/JohanLorenzo/followers","following_url":"https://api.github.com/users/JohanLorenzo/following{/other_user}","gists_url":"https://api.github.com/users/JohanLorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanLorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanLorenzo/subscriptions","organizations_url":"https://api.github.com/users/JohanLorenzo/orgs","repos_url":"https://api.github.com/users/JohanLorenzo/repos","events_url":"https://api.github.com/users/JohanLorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/JohanLorenzo/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-24T16:18:13Z","updated_at":"2015-04-28T14:30:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1a9b6233605a8fd57f86c159536a6110af1252e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/15/commits","review_comments_url":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/15/comments","review_comment_url":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arcturus/serviceworkerware/issues/15/comments","statuses_url":"https://api.github.com/repos/arcturus/serviceworkerware/statuses/46e3a352a11e6530eaaf60f5f67abe9324454b17","head":{"label":"JohanLorenzo:add-router-unit-tests","ref":"add-router-unit-tests","sha":"46e3a352a11e6530eaaf60f5f67abe9324454b17","user":{"login":"JohanLorenzo","id":5907366,"avatar_url":"https://avatars.githubusercontent.com/u/5907366?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanLorenzo","html_url":"https://github.com/JohanLorenzo","followers_url":"https://api.github.com/users/JohanLorenzo/followers","following_url":"https://api.github.com/users/JohanLorenzo/following{/other_user}","gists_url":"https://api.github.com/users/JohanLorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanLorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanLorenzo/subscriptions","organizations_url":"https://api.github.com/users/JohanLorenzo/orgs","repos_url":"https://api.github.com/users/JohanLorenzo/repos","events_url":"https://api.github.com/users/JohanLorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/JohanLorenzo/received_events","type":"User","site_admin":false},"repo":{"id":34525194,"name":"serviceworkerware","full_name":"JohanLorenzo/serviceworkerware","owner":{"login":"JohanLorenzo","id":5907366,"avatar_url":"https://avatars.githubusercontent.com/u/5907366?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanLorenzo","html_url":"https://github.com/JohanLorenzo","followers_url":"https://api.github.com/users/JohanLorenzo/followers","following_url":"https://api.github.com/users/JohanLorenzo/following{/other_user}","gists_url":"https://api.github.com/users/JohanLorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanLorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanLorenzo/subscriptions","organizations_url":"https://api.github.com/users/JohanLorenzo/orgs","repos_url":"https://api.github.com/users/JohanLorenzo/repos","events_url":"https://api.github.com/users/JohanLorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/JohanLorenzo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JohanLorenzo/serviceworkerware","description":"","fork":true,"url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware","forks_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/forks","keys_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/teams","hooks_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/hooks","issue_events_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/issues/events{/number}","events_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/events","assignees_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/assignees{/user}","branches_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/branches{/branch}","tags_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/tags","blobs_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/git/refs{/sha}","trees_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/statuses/{sha}","languages_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/languages","stargazers_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/stargazers","contributors_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/contributors","subscribers_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/subscribers","subscription_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/subscription","commits_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/commits{/sha}","git_commits_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/git/commits{/sha}","comments_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/comments{/number}","issue_comment_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/issues/comments{/number}","contents_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/contents/{+path}","compare_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/merges","archive_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/downloads","issues_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/issues{/number}","pulls_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/pulls{/number}","milestones_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/milestones{/number}","notifications_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/labels{/name}","releases_url":"https://api.github.com/repos/JohanLorenzo/serviceworkerware/releases{/id}","created_at":"2015-04-24T15:05:25Z","updated_at":"2015-04-24T15:05:25Z","pushed_at":"2015-04-27T13:56:42Z","git_url":"git://github.com/JohanLorenzo/serviceworkerware.git","ssh_url":"git@github.com:JohanLorenzo/serviceworkerware.git","clone_url":"https://github.com/JohanLorenzo/serviceworkerware.git","svn_url":"https://github.com/JohanLorenzo/serviceworkerware","homepage":null,"size":256,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"arcturus:master","ref":"master","sha":"9d012736aca3dba946b73483bb5dd47a8101f25d","user":{"login":"arcturus","id":60801,"avatar_url":"https://avatars.githubusercontent.com/u/60801?v=3","gravatar_id":"","url":"https://api.github.com/users/arcturus","html_url":"https://github.com/arcturus","followers_url":"https://api.github.com/users/arcturus/followers","following_url":"https://api.github.com/users/arcturus/following{/other_user}","gists_url":"https://api.github.com/users/arcturus/gists{/gist_id}","starred_url":"https://api.github.com/users/arcturus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcturus/subscriptions","organizations_url":"https://api.github.com/users/arcturus/orgs","repos_url":"https://api.github.com/users/arcturus/repos","events_url":"https://api.github.com/users/arcturus/events{/privacy}","received_events_url":"https://api.github.com/users/arcturus/received_events","type":"User","site_admin":false},"repo":{"id":31429789,"name":"serviceworkerware","full_name":"arcturus/serviceworkerware","owner":{"login":"arcturus","id":60801,"avatar_url":"https://avatars.githubusercontent.com/u/60801?v=3","gravatar_id":"","url":"https://api.github.com/users/arcturus","html_url":"https://github.com/arcturus","followers_url":"https://api.github.com/users/arcturus/followers","following_url":"https://api.github.com/users/arcturus/following{/other_user}","gists_url":"https://api.github.com/users/arcturus/gists{/gist_id}","starred_url":"https://api.github.com/users/arcturus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcturus/subscriptions","organizations_url":"https://api.github.com/users/arcturus/orgs","repos_url":"https://api.github.com/users/arcturus/repos","events_url":"https://api.github.com/users/arcturus/events{/privacy}","received_events_url":"https://api.github.com/users/arcturus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arcturus/serviceworkerware","description":"","fork":false,"url":"https://api.github.com/repos/arcturus/serviceworkerware","forks_url":"https://api.github.com/repos/arcturus/serviceworkerware/forks","keys_url":"https://api.github.com/repos/arcturus/serviceworkerware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arcturus/serviceworkerware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arcturus/serviceworkerware/teams","hooks_url":"https://api.github.com/repos/arcturus/serviceworkerware/hooks","issue_events_url":"https://api.github.com/repos/arcturus/serviceworkerware/issues/events{/number}","events_url":"https://api.github.com/repos/arcturus/serviceworkerware/events","assignees_url":"https://api.github.com/repos/arcturus/serviceworkerware/assignees{/user}","branches_url":"https://api.github.com/repos/arcturus/serviceworkerware/branches{/branch}","tags_url":"https://api.github.com/repos/arcturus/serviceworkerware/tags","blobs_url":"https://api.github.com/repos/arcturus/serviceworkerware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arcturus/serviceworkerware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arcturus/serviceworkerware/git/refs{/sha}","trees_url":"https://api.github.com/repos/arcturus/serviceworkerware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arcturus/serviceworkerware/statuses/{sha}","languages_url":"https://api.github.com/repos/arcturus/serviceworkerware/languages","stargazers_url":"https://api.github.com/repos/arcturus/serviceworkerware/stargazers","contributors_url":"https://api.github.com/repos/arcturus/serviceworkerware/contributors","subscribers_url":"https://api.github.com/repos/arcturus/serviceworkerware/subscribers","subscription_url":"https://api.github.com/repos/arcturus/serviceworkerware/subscription","commits_url":"https://api.github.com/repos/arcturus/serviceworkerware/commits{/sha}","git_commits_url":"https://api.github.com/repos/arcturus/serviceworkerware/git/commits{/sha}","comments_url":"https://api.github.com/repos/arcturus/serviceworkerware/comments{/number}","issue_comment_url":"https://api.github.com/repos/arcturus/serviceworkerware/issues/comments{/number}","contents_url":"https://api.github.com/repos/arcturus/serviceworkerware/contents/{+path}","compare_url":"https://api.github.com/repos/arcturus/serviceworkerware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arcturus/serviceworkerware/merges","archive_url":"https://api.github.com/repos/arcturus/serviceworkerware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arcturus/serviceworkerware/downloads","issues_url":"https://api.github.com/repos/arcturus/serviceworkerware/issues{/number}","pulls_url":"https://api.github.com/repos/arcturus/serviceworkerware/pulls{/number}","milestones_url":"https://api.github.com/repos/arcturus/serviceworkerware/milestones{/number}","notifications_url":"https://api.github.com/repos/arcturus/serviceworkerware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arcturus/serviceworkerware/labels{/name}","releases_url":"https://api.github.com/repos/arcturus/serviceworkerware/releases{/id}","created_at":"2015-02-27T17:04:42Z","updated_at":"2015-04-28T04:08:40Z","pushed_at":"2015-04-27T13:56:42Z","git_url":"git://github.com/arcturus/serviceworkerware.git","ssh_url":"git@github.com:arcturus/serviceworkerware.git","clone_url":"https://github.com/arcturus/serviceworkerware.git","svn_url":"https://github.com/arcturus/serviceworkerware","homepage":null,"size":256,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/15"},"html":{"href":"https://github.com/arcturus/serviceworkerware/pull/15"},"issue":{"href":"https://api.github.com/repos/arcturus/serviceworkerware/issues/15"},"comments":{"href":"https://api.github.com/repos/arcturus/serviceworkerware/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arcturus/serviceworkerware/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/arcturus/serviceworkerware/statuses/46e3a352a11e6530eaaf60f5f67abe9324454b17"}}}}