{"action":"opened","number":437,"pull_request":{"url":"https://api.github.com/repos/bugsnag/bugsnag-js/pulls/437","id":234605123,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NjA1MTIz","html_url":"https://github.com/bugsnag/bugsnag-js/pull/437","diff_url":"https://github.com/bugsnag/bugsnag-js/pull/437.diff","patch_url":"https://github.com/bugsnag/bugsnag-js/pull/437.patch","issue_url":"https://api.github.com/repos/bugsnag/bugsnag-js/issues/437","number":437,"state":"open","locked":false,"title":"fix: Improve behaviour in the case of delivery failure","user":{"login":"bengourley","id":609579,"node_id":"MDQ6VXNlcjYwOTU3OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/609579?v=4","gravatar_id":"","url":"https://api.github.com/users/bengourley","html_url":"https://github.com/bengourley","followers_url":"https://api.github.com/users/bengourley/followers","following_url":"https://api.github.com/users/bengourley/following{/other_user}","gists_url":"https://api.github.com/users/bengourley/gists{/gist_id}","starred_url":"https://api.github.com/users/bengourley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bengourley/subscriptions","organizations_url":"https://api.github.com/users/bengourley/orgs","repos_url":"https://api.github.com/users/bengourley/repos","events_url":"https://api.github.com/users/bengourley/events{/privacy}","received_events_url":"https://api.github.com/users/bengourley/received_events","type":"User","site_admin":false},"body":"The logger object was incorrectly invoked as a function, rather than one of its log methods. Also the error logging branch would return out of the function, meaning the `onUncaughtException`/`onUnhandledRejection` callbacks would not be executed.\r\n\r\nThis addresses part of #436.","created_at":"2018-11-29T11:39:29Z","updated_at":"2018-11-29T11:39:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bugsnag/bugsnag-js/pulls/437/commits","review_comments_url":"https://api.github.com/repos/bugsnag/bugsnag-js/pulls/437/comments","review_comment_url":"https://api.github.com/repos/bugsnag/bugsnag-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bugsnag/bugsnag-js/issues/437/comments","statuses_url":"https://api.github.com/repos/bugsnag/bugsnag-js/statuses/9c044a38fe4ec6ba63c4dbba70c5e4cce0072715","head":{"label":"bugsnag:fix-logging-calls","ref":"fix-logging-calls","sha":"9c044a38fe4ec6ba63c4dbba70c5e4cce0072715","user":{"login":"bugsnag","id":1058895,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNTg4OTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1058895?v=4","gravatar_id":"","url":"https://api.github.com/users/bugsnag","html_url":"https://github.com/bugsnag","followers_url":"https://api.github.com/users/bugsnag/followers","following_url":"https://api.github.com/users/bugsnag/following{/other_user}","gists_url":"https://api.github.com/users/bugsnag/gists{/gist_id}","starred_url":"https://api.github.com/users/bugsnag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugsnag/subscriptions","organizations_url":"https://api.github.com/users/bugsnag/orgs","repos_url":"https://api.github.com/users/bugsnag/repos","events_url":"https://api.github.com/users/bugsnag/events{/privacy}","received_events_url":"https://api.github.com/users/bugsnag/received_events","type":"Organization","site_admin":false},"repo":{"id":8035735,"node_id":"MDEwOlJlcG9zaXRvcnk4MDM1NzM1","name":"bugsnag-js","full_name":"bugsnag/bugsnag-js","private":false,"owner":{"login":"bugsnag","id":1058895,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNTg4OTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1058895?v=4","gravatar_id":"","url":"https://api.github.com/users/bugsnag","html_url":"https://github.com/bugsnag","followers_url":"https://api.github.com/users/bugsnag/followers","following_url":"https://api.github.com/users/bugsnag/following{/other_user}","gists_url":"https://api.github.com/users/bugsnag/gists{/gist_id}","starred_url":"https://api.github.com/users/bugsnag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugsnag/subscriptions","organizations_url":"https://api.github.com/users/bugsnag/orgs","repos_url":"https://api.github.com/users/bugsnag/repos","events_url":"https://api.github.com/users/bugsnag/events{/privacy}","received_events_url":"https://api.github.com/users/bugsnag/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bugsnag/bugsnag-js","description":"Javascript notifier for Bugsnag. Monitor and report JavaScript errors.","fork":false,"url":"https://api.github.com/repos/bugsnag/bugsnag-js","forks_url":"https://api.github.com/repos/bugsnag/bugsnag-js/forks","keys_url":"https://api.github.com/repos/bugsnag/bugsnag-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bugsnag/bugsnag-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bugsnag/bugsnag-js/teams","hooks_url":"https://api.github.com/repos/bugsnag/bugsnag-js/hooks","issue_events_url":"https://api.github.com/repos/bugsnag/bugsnag-js/issues/events{/number}","events_url":"https://api.github.com/repos/bugsnag/bugsnag-js/events","assignees_url":"https://api.github.com/repos/bugsnag/bugsnag-js/assignees{/user}","branches_url":"https://api.github.com/repos/bugsnag/bugsnag-js/branches{/branch}","tags_url":"https://api.github.com/repos/bugsnag/bugsnag-js/tags","blobs_url":"https://api.github.com/repos/bugsnag/bugsnag-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bugsnag/bugsnag-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bugsnag/bugsnag-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/bugsnag/bugsnag-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bugsnag/bugsnag-js/statuses/{sha}","languages_url":"https://api.github.com/repos/bugsnag/bugsnag-js/languages","stargazers_url":"https://api.github.com/repos/bugsnag/bugsnag-js/stargazers","contributors_url":"https://api.github.com/repos/bugsnag/bugsnag-js/contributors","subscribers_url":"https://api.github.com/repos/bugsnag/bugsnag-js/subscribers","subscription_url":"https://api.github.com/repos/bugsnag/bugsnag-js/subscription","commits_url":"https://api.github.com/repos/bugsnag/bugsnag-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/bugsnag/bugsnag-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/bugsnag/bugsnag-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/bugsnag/bugsnag-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/bugsnag/bugsnag-js/contents/{+path}","compare_url":"https://api.github.com/repos/bugsnag/bugsnag-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bugsnag/bugsnag-js/merges","archive_url":"https://api.github.com/repos/bugsnag/bugsnag-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bugsnag/bugsnag-js/downloads","issues_url":"https://api.github.com/repos/bugsnag/bugsnag-js/issues{/number}","pulls_url":"https://api.github.com/repos/bugsnag/bugsnag-js/pulls{/number}","milestones_url":"https://api.github.com/repos/bugsnag/bugsnag-js/milestones{/number}","notifications_url":"https://api.github.com/repos/bugsnag/bugsnag-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bugsnag/bugsnag-js/labels{/name}","releases_url":"https://api.github.com/repos/bugsnag/bugsnag-js/releases{/id}","deployments_url":"https://api.github.com/repos/bugsnag/bugsnag-js/deployments","created_at":"2013-02-05T19:06:33Z","updated_at":"2018-11-28T13:38:35Z","pushed_at":"2018-11-29T11:38:42Z","git_url":"git://github.com/bugsnag/bugsnag-js.git","ssh_url":"git@github.com:bugsnag/bugsnag-js.git","clone_url":"https://github.com/bugsnag/bugsnag-js.git","svn_url":"https://github.com/bugsnag/bugsnag-js","homepage":"https://docs.bugsnag.com/platforms/browsers","size":8844,"stargazers_count":377,"watchers_count":377,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":122,"mirror_url":null,"archived":false,"open_issues_count":18,"license":null,"forks":122,"open_issues":18,"watchers":377,"default_branch":"next"}},"base":{"label":"bugsnag:next","ref":"next","sha":"5a0b5e89c7d4f79d24703f220acfc0df21aa6613","user":{"login":"bugsnag","id":1058895,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNTg4OTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1058895?v=4","gravatar_id":"","url":"https://api.github.com/users/bugsnag","html_url":"https://github.com/bugsnag","followers_url":"https://api.github.com/users/bugsnag/followers","following_url":"https://api.github.com/users/bugsnag/following{/other_user}","gists_url":"https://api.github.com/users/bugsnag/gists{/gist_id}","starred_url":"https://api.github.com/users/bugsnag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugsnag/subscriptions","organizations_url":"https://api.github.com/users/bugsnag/orgs","repos_url":"https://api.github.com/users/bugsnag/repos","events_url":"https://api.github.com/users/bugsnag/events{/privacy}","received_events_url":"https://api.github.com/users/bugsnag/received_events","type":"Organization","site_admin":false},"repo":{"id":8035735,"node_id":"MDEwOlJlcG9zaXRvcnk4MDM1NzM1","name":"bugsnag-js","full_name":"bugsnag/bugsnag-js","private":false,"owner":{"login":"bugsnag","id":1058895,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNTg4OTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1058895?v=4","gravatar_id":"","url":"https://api.github.com/users/bugsnag","html_url":"https://github.com/bugsnag","followers_url":"https://api.github.com/users/bugsnag/followers","following_url":"https://api.github.com/users/bugsnag/following{/other_user}","gists_url":"https://api.github.com/users/bugsnag/gists{/gist_id}","starred_url":"https://api.github.com/users/bugsnag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugsnag/subscriptions","organizations_url":"https://api.github.com/users/bugsnag/orgs","repos_url":"https://api.github.com/users/bugsnag/repos","events_url":"https://api.github.com/users/bugsnag/events{/privacy}","received_events_url":"https://api.github.com/users/bugsnag/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bugsnag/bugsnag-js","description":"Javascript notifier for Bugsnag. Monitor and report JavaScript errors.","fork":false,"url":"https://api.github.com/repos/bugsnag/bugsnag-js","forks_url":"https://api.github.com/repos/bugsnag/bugsnag-js/forks","keys_url":"https://api.github.com/repos/bugsnag/bugsnag-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bugsnag/bugsnag-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bugsnag/bugsnag-js/teams","hooks_url":"https://api.github.com/repos/bugsnag/bugsnag-js/hooks","issue_events_url":"https://api.github.com/repos/bugsnag/bugsnag-js/issues/events{/number}","events_url":"https://api.github.com/repos/bugsnag/bugsnag-js/events","assignees_url":"https://api.github.com/repos/bugsnag/bugsnag-js/assignees{/user}","branches_url":"https://api.github.com/repos/bugsnag/bugsnag-js/branches{/branch}","tags_url":"https://api.github.com/repos/bugsnag/bugsnag-js/tags","blobs_url":"https://api.github.com/repos/bugsnag/bugsnag-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bugsnag/bugsnag-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bugsnag/bugsnag-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/bugsnag/bugsnag-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bugsnag/bugsnag-js/statuses/{sha}","languages_url":"https://api.github.com/repos/bugsnag/bugsnag-js/languages","stargazers_url":"https://api.github.com/repos/bugsnag/bugsnag-js/stargazers","contributors_url":"https://api.github.com/repos/bugsnag/bugsnag-js/contributors","subscribers_url":"https://api.github.com/repos/bugsnag/bugsnag-js/subscribers","subscription_url":"https://api.github.com/repos/bugsnag/bugsnag-js/subscription","commits_url":"https://api.github.com/repos/bugsnag/bugsnag-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/bugsnag/bugsnag-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/bugsnag/bugsnag-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/bugsnag/bugsnag-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/bugsnag/bugsnag-js/contents/{+path}","compare_url":"https://api.github.com/repos/bugsnag/bugsnag-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bugsnag/bugsnag-js/merges","archive_url":"https://api.github.com/repos/bugsnag/bugsnag-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bugsnag/bugsnag-js/downloads","issues_url":"https://api.github.com/repos/bugsnag/bugsnag-js/issues{/number}","pulls_url":"https://api.github.com/repos/bugsnag/bugsnag-js/pulls{/number}","milestones_url":"https://api.github.com/repos/bugsnag/bugsnag-js/milestones{/number}","notifications_url":"https://api.github.com/repos/bugsnag/bugsnag-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bugsnag/bugsnag-js/labels{/name}","releases_url":"https://api.github.com/repos/bugsnag/bugsnag-js/releases{/id}","deployments_url":"https://api.github.com/repos/bugsnag/bugsnag-js/deployments","created_at":"2013-02-05T19:06:33Z","updated_at":"2018-11-28T13:38:35Z","pushed_at":"2018-11-29T11:38:42Z","git_url":"git://github.com/bugsnag/bugsnag-js.git","ssh_url":"git@github.com:bugsnag/bugsnag-js.git","clone_url":"https://github.com/bugsnag/bugsnag-js.git","svn_url":"https://github.com/bugsnag/bugsnag-js","homepage":"https://docs.bugsnag.com/platforms/browsers","size":8844,"stargazers_count":377,"watchers_count":377,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":122,"mirror_url":null,"archived":false,"open_issues_count":18,"license":null,"forks":122,"open_issues":18,"watchers":377,"default_branch":"next"}},"_links":{"self":{"href":"https://api.github.com/repos/bugsnag/bugsnag-js/pulls/437"},"html":{"href":"https://github.com/bugsnag/bugsnag-js/pull/437"},"issue":{"href":"https://api.github.com/repos/bugsnag/bugsnag-js/issues/437"},"comments":{"href":"https://api.github.com/repos/bugsnag/bugsnag-js/issues/437/comments"},"review_comments":{"href":"https://api.github.com/repos/bugsnag/bugsnag-js/pulls/437/comments"},"review_comment":{"href":"https://api.github.com/repos/bugsnag/bugsnag-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bugsnag/bugsnag-js/pulls/437/commits"},"statuses":{"href":"https://api.github.com/repos/bugsnag/bugsnag-js/statuses/9c044a38fe4ec6ba63c4dbba70c5e4cce0072715"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":97,"deletions":5,"changed_files":8}}
{"actor":{"display_login":"bengourley"}}