{"action":"created","comment":{"url":"https://api.github.com/repos/hmil/express-youch/pulls/comments/222144928","pull_request_review_id":160964179,"id":222144928,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjE0NDkyOA==","diff_hunk":"@@ -30,6 +30,9 @@ type IReceivedError = Partial<Error> & string & {\n };\n \n type ResponseFormat = 'json' | 'text' | 'html';\n+interface ErrorReporterOptions {\n+    addStackOverflowLink?: boolean;","path":"src/index.ts","position":null,"original_position":5,"commit_id":"2dd7865429d491be283d462e4b542e9d4e407c77","original_commit_id":"f23771ba22b913523e8f68d1920ce44f660deb4f","user":{"login":"emanuel-lundman","id":2368897,"node_id":"MDQ6VXNlcjIzNjg4OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/2368897?v=4","gravatar_id":"","url":"https://api.github.com/users/emanuel-lundman","html_url":"https://github.com/emanuel-lundman","followers_url":"https://api.github.com/users/emanuel-lundman/followers","following_url":"https://api.github.com/users/emanuel-lundman/following{/other_user}","gists_url":"https://api.github.com/users/emanuel-lundman/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuel-lundman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuel-lundman/subscriptions","organizations_url":"https://api.github.com/users/emanuel-lundman/orgs","repos_url":"https://api.github.com/users/emanuel-lundman/repos","events_url":"https://api.github.com/users/emanuel-lundman/events{/privacy}","received_events_url":"https://api.github.com/users/emanuel-lundman/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2018-10-02T23:42:59Z","updated_at":"2018-10-02T23:42:59Z","html_url":"https://github.com/hmil/express-youch/pull/1#discussion_r222144928","pull_request_url":"https://api.github.com/repos/hmil/express-youch/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/hmil/express-youch/pulls/comments/222144928"},"html":{"href":"https://github.com/hmil/express-youch/pull/1#discussion_r222144928"},"pull_request":{"href":"https://api.github.com/repos/hmil/express-youch/pulls/1"}},"in_reply_to_id":222086083},"pull_request":{"url":"https://api.github.com/repos/hmil/express-youch/pulls/1","id":219634977,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NjM0OTc3","html_url":"https://github.com/hmil/express-youch/pull/1","diff_url":"https://github.com/hmil/express-youch/pull/1.diff","patch_url":"https://github.com/hmil/express-youch/pull/1.patch","issue_url":"https://api.github.com/repos/hmil/express-youch/issues/1","number":1,"state":"open","locked":false,"title":"Add support for optional automatic stack overflow link","user":{"login":"emanuel-lundman","id":2368897,"node_id":"MDQ6VXNlcjIzNjg4OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/2368897?v=4","gravatar_id":"","url":"https://api.github.com/users/emanuel-lundman","html_url":"https://github.com/emanuel-lundman","followers_url":"https://api.github.com/users/emanuel-lundman/followers","following_url":"https://api.github.com/users/emanuel-lundman/following{/other_user}","gists_url":"https://api.github.com/users/emanuel-lundman/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuel-lundman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuel-lundman/subscriptions","organizations_url":"https://api.github.com/users/emanuel-lundman/orgs","repos_url":"https://api.github.com/users/emanuel-lundman/repos","events_url":"https://api.github.com/users/emanuel-lundman/events{/privacy}","received_events_url":"https://api.github.com/users/emanuel-lundman/received_events","type":"User","site_admin":false},"body":"Don't know if this is something you're interested in, or (if you are) if you want it implemented in a different way. But here's a quick solution using youch's addLink and an optional options object for the errorReporter with an addStackOverflowLink boolean option.","created_at":"2018-10-02T09:14:24Z","updated_at":"2018-10-02T23:42:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2260badf1f9afb97b1f97119bca9aea3280c7570","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmil/express-youch/pulls/1/commits","review_comments_url":"https://api.github.com/repos/hmil/express-youch/pulls/1/comments","review_comment_url":"https://api.github.com/repos/hmil/express-youch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmil/express-youch/issues/1/comments","statuses_url":"https://api.github.com/repos/hmil/express-youch/statuses/2dd7865429d491be283d462e4b542e9d4e407c77","head":{"label":"emanuel-lundman:master","ref":"master","sha":"2dd7865429d491be283d462e4b542e9d4e407c77","user":{"login":"emanuel-lundman","id":2368897,"node_id":"MDQ6VXNlcjIzNjg4OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/2368897?v=4","gravatar_id":"","url":"https://api.github.com/users/emanuel-lundman","html_url":"https://github.com/emanuel-lundman","followers_url":"https://api.github.com/users/emanuel-lundman/followers","following_url":"https://api.github.com/users/emanuel-lundman/following{/other_user}","gists_url":"https://api.github.com/users/emanuel-lundman/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuel-lundman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuel-lundman/subscriptions","organizations_url":"https://api.github.com/users/emanuel-lundman/orgs","repos_url":"https://api.github.com/users/emanuel-lundman/repos","events_url":"https://api.github.com/users/emanuel-lundman/events{/privacy}","received_events_url":"https://api.github.com/users/emanuel-lundman/received_events","type":"User","site_admin":false},"repo":{"id":151221511,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyMjE1MTE=","name":"express-youch","full_name":"emanuel-lundman/express-youch","private":false,"owner":{"login":"emanuel-lundman","id":2368897,"node_id":"MDQ6VXNlcjIzNjg4OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/2368897?v=4","gravatar_id":"","url":"https://api.github.com/users/emanuel-lundman","html_url":"https://github.com/emanuel-lundman","followers_url":"https://api.github.com/users/emanuel-lundman/followers","following_url":"https://api.github.com/users/emanuel-lundman/following{/other_user}","gists_url":"https://api.github.com/users/emanuel-lundman/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuel-lundman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuel-lundman/subscriptions","organizations_url":"https://api.github.com/users/emanuel-lundman/orgs","repos_url":"https://api.github.com/users/emanuel-lundman/repos","events_url":"https://api.github.com/users/emanuel-lundman/events{/privacy}","received_events_url":"https://api.github.com/users/emanuel-lundman/received_events","type":"User","site_admin":false},"html_url":"https://github.com/emanuel-lundman/express-youch","description":"Awesome error reporting middleware for express","fork":true,"url":"https://api.github.com/repos/emanuel-lundman/express-youch","forks_url":"https://api.github.com/repos/emanuel-lundman/express-youch/forks","keys_url":"https://api.github.com/repos/emanuel-lundman/express-youch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emanuel-lundman/express-youch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emanuel-lundman/express-youch/teams","hooks_url":"https://api.github.com/repos/emanuel-lundman/express-youch/hooks","issue_events_url":"https://api.github.com/repos/emanuel-lundman/express-youch/issues/events{/number}","events_url":"https://api.github.com/repos/emanuel-lundman/express-youch/events","assignees_url":"https://api.github.com/repos/emanuel-lundman/express-youch/assignees{/user}","branches_url":"https://api.github.com/repos/emanuel-lundman/express-youch/branches{/branch}","tags_url":"https://api.github.com/repos/emanuel-lundman/express-youch/tags","blobs_url":"https://api.github.com/repos/emanuel-lundman/express-youch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emanuel-lundman/express-youch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emanuel-lundman/express-youch/git/refs{/sha}","trees_url":"https://api.github.com/repos/emanuel-lundman/express-youch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emanuel-lundman/express-youch/statuses/{sha}","languages_url":"https://api.github.com/repos/emanuel-lundman/express-youch/languages","stargazers_url":"https://api.github.com/repos/emanuel-lundman/express-youch/stargazers","contributors_url":"https://api.github.com/repos/emanuel-lundman/express-youch/contributors","subscribers_url":"https://api.github.com/repos/emanuel-lundman/express-youch/subscribers","subscription_url":"https://api.github.com/repos/emanuel-lundman/express-youch/subscription","commits_url":"https://api.github.com/repos/emanuel-lundman/express-youch/commits{/sha}","git_commits_url":"https://api.github.com/repos/emanuel-lundman/express-youch/git/commits{/sha}","comments_url":"https://api.github.com/repos/emanuel-lundman/express-youch/comments{/number}","issue_comment_url":"https://api.github.com/repos/emanuel-lundman/express-youch/issues/comments{/number}","contents_url":"https://api.github.com/repos/emanuel-lundman/express-youch/contents/{+path}","compare_url":"https://api.github.com/repos/emanuel-lundman/express-youch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emanuel-lundman/express-youch/merges","archive_url":"https://api.github.com/repos/emanuel-lundman/express-youch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emanuel-lundman/express-youch/downloads","issues_url":"https://api.github.com/repos/emanuel-lundman/express-youch/issues{/number}","pulls_url":"https://api.github.com/repos/emanuel-lundman/express-youch/pulls{/number}","milestones_url":"https://api.github.com/repos/emanuel-lundman/express-youch/milestones{/number}","notifications_url":"https://api.github.com/repos/emanuel-lundman/express-youch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emanuel-lundman/express-youch/labels{/name}","releases_url":"https://api.github.com/repos/emanuel-lundman/express-youch/releases{/id}","deployments_url":"https://api.github.com/repos/emanuel-lundman/express-youch/deployments","created_at":"2018-10-02T08:10:36Z","updated_at":"2018-10-02T23:38:20Z","pushed_at":"2018-10-02T23:38:18Z","git_url":"git://github.com/emanuel-lundman/express-youch.git","ssh_url":"git@github.com:emanuel-lundman/express-youch.git","clone_url":"https://github.com/emanuel-lundman/express-youch.git","svn_url":"https://github.com/emanuel-lundman/express-youch","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hmil:master","ref":"master","sha":"7da4694c3f62c98a93253d4e631cf06101750a48","user":{"login":"hmil","id":1753085,"node_id":"MDQ6VXNlcjE3NTMwODU=","avatar_url":"https://avatars3.githubusercontent.com/u/1753085?v=4","gravatar_id":"","url":"https://api.github.com/users/hmil","html_url":"https://github.com/hmil","followers_url":"https://api.github.com/users/hmil/followers","following_url":"https://api.github.com/users/hmil/following{/other_user}","gists_url":"https://api.github.com/users/hmil/gists{/gist_id}","starred_url":"https://api.github.com/users/hmil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmil/subscriptions","organizations_url":"https://api.github.com/users/hmil/orgs","repos_url":"https://api.github.com/users/hmil/repos","events_url":"https://api.github.com/users/hmil/events{/privacy}","received_events_url":"https://api.github.com/users/hmil/received_events","type":"User","site_admin":false},"repo":{"id":142894697,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI4OTQ2OTc=","name":"express-youch","full_name":"hmil/express-youch","private":false,"owner":{"login":"hmil","id":1753085,"node_id":"MDQ6VXNlcjE3NTMwODU=","avatar_url":"https://avatars3.githubusercontent.com/u/1753085?v=4","gravatar_id":"","url":"https://api.github.com/users/hmil","html_url":"https://github.com/hmil","followers_url":"https://api.github.com/users/hmil/followers","following_url":"https://api.github.com/users/hmil/following{/other_user}","gists_url":"https://api.github.com/users/hmil/gists{/gist_id}","starred_url":"https://api.github.com/users/hmil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmil/subscriptions","organizations_url":"https://api.github.com/users/hmil/orgs","repos_url":"https://api.github.com/users/hmil/repos","events_url":"https://api.github.com/users/hmil/events{/privacy}","received_events_url":"https://api.github.com/users/hmil/received_events","type":"User","site_admin":false},"html_url":"https://github.com/hmil/express-youch","description":"Awesome error reporting middleware for express","fork":false,"url":"https://api.github.com/repos/hmil/express-youch","forks_url":"https://api.github.com/repos/hmil/express-youch/forks","keys_url":"https://api.github.com/repos/hmil/express-youch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmil/express-youch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmil/express-youch/teams","hooks_url":"https://api.github.com/repos/hmil/express-youch/hooks","issue_events_url":"https://api.github.com/repos/hmil/express-youch/issues/events{/number}","events_url":"https://api.github.com/repos/hmil/express-youch/events","assignees_url":"https://api.github.com/repos/hmil/express-youch/assignees{/user}","branches_url":"https://api.github.com/repos/hmil/express-youch/branches{/branch}","tags_url":"https://api.github.com/repos/hmil/express-youch/tags","blobs_url":"https://api.github.com/repos/hmil/express-youch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmil/express-youch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmil/express-youch/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmil/express-youch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmil/express-youch/statuses/{sha}","languages_url":"https://api.github.com/repos/hmil/express-youch/languages","stargazers_url":"https://api.github.com/repos/hmil/express-youch/stargazers","contributors_url":"https://api.github.com/repos/hmil/express-youch/contributors","subscribers_url":"https://api.github.com/repos/hmil/express-youch/subscribers","subscription_url":"https://api.github.com/repos/hmil/express-youch/subscription","commits_url":"https://api.github.com/repos/hmil/express-youch/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmil/express-youch/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmil/express-youch/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmil/express-youch/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmil/express-youch/contents/{+path}","compare_url":"https://api.github.com/repos/hmil/express-youch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmil/express-youch/merges","archive_url":"https://api.github.com/repos/hmil/express-youch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmil/express-youch/downloads","issues_url":"https://api.github.com/repos/hmil/express-youch/issues{/number}","pulls_url":"https://api.github.com/repos/hmil/express-youch/pulls{/number}","milestones_url":"https://api.github.com/repos/hmil/express-youch/milestones{/number}","notifications_url":"https://api.github.com/repos/hmil/express-youch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmil/express-youch/labels{/name}","releases_url":"https://api.github.com/repos/hmil/express-youch/releases{/id}","deployments_url":"https://api.github.com/repos/hmil/express-youch/deployments","created_at":"2018-07-30T15:32:09Z","updated_at":"2018-08-23T20:17:07Z","pushed_at":"2018-10-02T23:38:20Z","git_url":"git://github.com/hmil/express-youch.git","ssh_url":"git@github.com:hmil/express-youch.git","clone_url":"https://github.com/hmil/express-youch.git","svn_url":"https://github.com/hmil/express-youch","homepage":null,"size":85,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmil/express-youch/pulls/1"},"html":{"href":"https://github.com/hmil/express-youch/pull/1"},"issue":{"href":"https://api.github.com/repos/hmil/express-youch/issues/1"},"comments":{"href":"https://api.github.com/repos/hmil/express-youch/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/hmil/express-youch/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/hmil/express-youch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmil/express-youch/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/hmil/express-youch/statuses/2dd7865429d491be283d462e4b542e9d4e407c77"}},"author_association":"NONE"}}
{"actor":{"display_login":"emanuel-lundman"}}