{"action":"opened","number":3994,"pull_request":{"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3994","id":32241063,"html_url":"https://github.com/borisyankov/DefinitelyTyped/pull/3994","diff_url":"https://github.com/borisyankov/DefinitelyTyped/pull/3994.diff","patch_url":"https://github.com/borisyankov/DefinitelyTyped/pull/3994.patch","issue_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3994","number":3994,"state":"open","locked":false,"title":"add options object to errorhandler function","user":{"login":"pgrm","id":713456,"avatar_url":"https://avatars.githubusercontent.com/u/713456?v=3","gravatar_id":"","url":"https://api.github.com/users/pgrm","html_url":"https://github.com/pgrm","followers_url":"https://api.github.com/users/pgrm/followers","following_url":"https://api.github.com/users/pgrm/following{/other_user}","gists_url":"https://api.github.com/users/pgrm/gists{/gist_id}","starred_url":"https://api.github.com/users/pgrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgrm/subscriptions","organizations_url":"https://api.github.com/users/pgrm/orgs","repos_url":"https://api.github.com/users/pgrm/repos","events_url":"https://api.github.com/users/pgrm/events{/privacy}","received_events_url":"https://api.github.com/users/pgrm/received_events","type":"User","site_admin":false},"body":"Errorhandler can have also options defined, for now just a log property which can be either true/false or a function. See the readme for details: https://github.com/expressjs/errorhandler","created_at":"2015-03-30T16:04:46Z","updated_at":"2015-03-30T16:04:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3994/commits","review_comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3994/comments","review_comment_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3994/comments","statuses_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/statuses/7acd4688471832500a161e1c0514f919318fc050","head":{"label":"pgrm:patch-1","ref":"patch-1","sha":"7acd4688471832500a161e1c0514f919318fc050","user":{"login":"pgrm","id":713456,"avatar_url":"https://avatars.githubusercontent.com/u/713456?v=3","gravatar_id":"","url":"https://api.github.com/users/pgrm","html_url":"https://github.com/pgrm","followers_url":"https://api.github.com/users/pgrm/followers","following_url":"https://api.github.com/users/pgrm/following{/other_user}","gists_url":"https://api.github.com/users/pgrm/gists{/gist_id}","starred_url":"https://api.github.com/users/pgrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgrm/subscriptions","organizations_url":"https://api.github.com/users/pgrm/orgs","repos_url":"https://api.github.com/users/pgrm/repos","events_url":"https://api.github.com/users/pgrm/events{/privacy}","received_events_url":"https://api.github.com/users/pgrm/received_events","type":"User","site_admin":false},"repo":{"id":33133241,"name":"DefinitelyTyped","full_name":"pgrm/DefinitelyTyped","owner":{"login":"pgrm","id":713456,"avatar_url":"https://avatars.githubusercontent.com/u/713456?v=3","gravatar_id":"","url":"https://api.github.com/users/pgrm","html_url":"https://github.com/pgrm","followers_url":"https://api.github.com/users/pgrm/followers","following_url":"https://api.github.com/users/pgrm/following{/other_user}","gists_url":"https://api.github.com/users/pgrm/gists{/gist_id}","starred_url":"https://api.github.com/users/pgrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgrm/subscriptions","organizations_url":"https://api.github.com/users/pgrm/orgs","repos_url":"https://api.github.com/users/pgrm/repos","events_url":"https://api.github.com/users/pgrm/events{/privacy}","received_events_url":"https://api.github.com/users/pgrm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pgrm/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/pgrm/DefinitelyTyped","forks_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/pgrm/DefinitelyTyped/releases{/id}","created_at":"2015-03-30T16:01:55Z","updated_at":"2015-03-30T16:01:58Z","pushed_at":"2015-03-30T16:03:48Z","git_url":"git://github.com/pgrm/DefinitelyTyped.git","ssh_url":"git@github.com:pgrm/DefinitelyTyped.git","clone_url":"https://github.com/pgrm/DefinitelyTyped.git","svn_url":"https://github.com/pgrm/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":57756,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"borisyankov:master","ref":"master","sha":"f8f1b95d00c9fc5653268b94333d149aec11acd7","user":{"login":"borisyankov","id":867242,"avatar_url":"https://avatars.githubusercontent.com/u/867242?v=3","gravatar_id":"","url":"https://api.github.com/users/borisyankov","html_url":"https://github.com/borisyankov","followers_url":"https://api.github.com/users/borisyankov/followers","following_url":"https://api.github.com/users/borisyankov/following{/other_user}","gists_url":"https://api.github.com/users/borisyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/borisyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisyankov/subscriptions","organizations_url":"https://api.github.com/users/borisyankov/orgs","repos_url":"https://api.github.com/users/borisyankov/repos","events_url":"https://api.github.com/users/borisyankov/events{/privacy}","received_events_url":"https://api.github.com/users/borisyankov/received_events","type":"User","site_admin":false},"repo":{"id":6093316,"name":"DefinitelyTyped","full_name":"borisyankov/DefinitelyTyped","owner":{"login":"borisyankov","id":867242,"avatar_url":"https://avatars.githubusercontent.com/u/867242?v=3","gravatar_id":"","url":"https://api.github.com/users/borisyankov","html_url":"https://github.com/borisyankov","followers_url":"https://api.github.com/users/borisyankov/followers","following_url":"https://api.github.com/users/borisyankov/following{/other_user}","gists_url":"https://api.github.com/users/borisyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/borisyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisyankov/subscriptions","organizations_url":"https://api.github.com/users/borisyankov/orgs","repos_url":"https://api.github.com/users/borisyankov/repos","events_url":"https://api.github.com/users/borisyankov/events{/privacy}","received_events_url":"https://api.github.com/users/borisyankov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/borisyankov/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":false,"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped","forks_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/releases{/id}","created_at":"2012-10-05T16:39:45Z","updated_at":"2015-03-30T14:00:06Z","pushed_at":"2015-03-30T15:54:01Z","git_url":"git://github.com/borisyankov/DefinitelyTyped.git","ssh_url":"git@github.com:borisyankov/DefinitelyTyped.git","clone_url":"https://github.com/borisyankov/DefinitelyTyped.git","svn_url":"https://github.com/borisyankov/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":57756,"stargazers_count":3439,"watchers_count":3439,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2180,"mirror_url":null,"open_issues_count":471,"forks":2180,"open_issues":471,"watchers":3439,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3994"},"html":{"href":"https://github.com/borisyankov/DefinitelyTyped/pull/3994"},"issue":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3994"},"comments":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/3994/comments"},"review_comments":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3994/comments"},"review_comment":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/3994/commits"},"statuses":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/statuses/7acd4688471832500a161e1c0514f919318fc050"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}