{"action":"created","comment":{"url":"https://api.github.com/repos/docker/machine/pulls/comments/47065909","id":47065909,"diff_hunk":"@@ -77,3 +77,8 @@ func (ml LogrusMachineLogger) Warn(args ...interface{}) {\n func (ml LogrusMachineLogger) Warnf(fmtString string, args ...interface{}) {\n \tml.logger.Warnf(fmtString, args...)\n }\n+\n+func (ml LogrusMachineLogger) MonitorCrash() {\n+\thook, _ := NewBugsnagHook()","path":"libmachine/log/logrus_machine_logger.go","position":6,"original_position":6,"commit_id":"0a40f55bab8b286bfa0a954815a157e643199af4","original_commit_id":"0a40f55bab8b286bfa0a954815a157e643199af4","user":{"login":"jeanlaurent","id":197016,"avatar_url":"https://avatars.githubusercontent.com/u/197016?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanlaurent","html_url":"https://github.com/jeanlaurent","followers_url":"https://api.github.com/users/jeanlaurent/followers","following_url":"https://api.github.com/users/jeanlaurent/following{/other_user}","gists_url":"https://api.github.com/users/jeanlaurent/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanlaurent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanlaurent/subscriptions","organizations_url":"https://api.github.com/users/jeanlaurent/orgs","repos_url":"https://api.github.com/users/jeanlaurent/repos","events_url":"https://api.github.com/users/jeanlaurent/events{/privacy}","received_events_url":"https://api.github.com/users/jeanlaurent/received_events","type":"User","site_admin":false},"body":"Of course yes.","created_at":"2015-12-09T09:13:10Z","updated_at":"2015-12-09T09:13:10Z","html_url":"https://github.com/docker/machine/pull/2526#discussion_r47065909","pull_request_url":"https://api.github.com/repos/docker/machine/pulls/2526","_links":{"self":{"href":"https://api.github.com/repos/docker/machine/pulls/comments/47065909"},"html":{"href":"https://github.com/docker/machine/pull/2526#discussion_r47065909"},"pull_request":{"href":"https://api.github.com/repos/docker/machine/pulls/2526"}}},"pull_request":{"url":"https://api.github.com/repos/docker/machine/pulls/2526","id":52992154,"html_url":"https://github.com/docker/machine/pull/2526","diff_url":"https://github.com/docker/machine/pull/2526.diff","patch_url":"https://github.com/docker/machine/pull/2526.patch","issue_url":"https://api.github.com/repos/docker/machine/issues/2526","number":2526,"state":"open","locked":false,"title":"[WIP] Monitor and report bug with bugsnag","user":{"login":"jeanlaurent","id":197016,"avatar_url":"https://avatars.githubusercontent.com/u/197016?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanlaurent","html_url":"https://github.com/jeanlaurent","followers_url":"https://api.github.com/users/jeanlaurent/followers","following_url":"https://api.github.com/users/jeanlaurent/following{/other_user}","gists_url":"https://api.github.com/users/jeanlaurent/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanlaurent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanlaurent/subscriptions","organizations_url":"https://api.github.com/users/jeanlaurent/orgs","repos_url":"https://api.github.com/users/jeanlaurent/repos","events_url":"https://api.github.com/users/jeanlaurent/events{/privacy}","received_events_url":"https://api.github.com/users/jeanlaurent/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-08T15:10:17Z","updated_at":"2015-12-09T09:13:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7049239b7a4c535871392e36947288c1c0e7047","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/machine/pulls/2526/commits","review_comments_url":"https://api.github.com/repos/docker/machine/pulls/2526/comments","review_comment_url":"https://api.github.com/repos/docker/machine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/machine/issues/2526/comments","statuses_url":"https://api.github.com/repos/docker/machine/statuses/0a40f55bab8b286bfa0a954815a157e643199af4","head":{"label":"jeanlaurent:bugsnag","ref":"bugsnag","sha":"0a40f55bab8b286bfa0a954815a157e643199af4","user":{"login":"jeanlaurent","id":197016,"avatar_url":"https://avatars.githubusercontent.com/u/197016?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanlaurent","html_url":"https://github.com/jeanlaurent","followers_url":"https://api.github.com/users/jeanlaurent/followers","following_url":"https://api.github.com/users/jeanlaurent/following{/other_user}","gists_url":"https://api.github.com/users/jeanlaurent/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanlaurent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanlaurent/subscriptions","organizations_url":"https://api.github.com/users/jeanlaurent/orgs","repos_url":"https://api.github.com/users/jeanlaurent/repos","events_url":"https://api.github.com/users/jeanlaurent/events{/privacy}","received_events_url":"https://api.github.com/users/jeanlaurent/received_events","type":"User","site_admin":false},"repo":{"id":45482413,"name":"machine","full_name":"jeanlaurent/machine","owner":{"login":"jeanlaurent","id":197016,"avatar_url":"https://avatars.githubusercontent.com/u/197016?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanlaurent","html_url":"https://github.com/jeanlaurent","followers_url":"https://api.github.com/users/jeanlaurent/followers","following_url":"https://api.github.com/users/jeanlaurent/following{/other_user}","gists_url":"https://api.github.com/users/jeanlaurent/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanlaurent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanlaurent/subscriptions","organizations_url":"https://api.github.com/users/jeanlaurent/orgs","repos_url":"https://api.github.com/users/jeanlaurent/repos","events_url":"https://api.github.com/users/jeanlaurent/events{/privacy}","received_events_url":"https://api.github.com/users/jeanlaurent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeanlaurent/machine","description":"Machine management for a container-centric world","fork":true,"url":"https://api.github.com/repos/jeanlaurent/machine","forks_url":"https://api.github.com/repos/jeanlaurent/machine/forks","keys_url":"https://api.github.com/repos/jeanlaurent/machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeanlaurent/machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeanlaurent/machine/teams","hooks_url":"https://api.github.com/repos/jeanlaurent/machine/hooks","issue_events_url":"https://api.github.com/repos/jeanlaurent/machine/issues/events{/number}","events_url":"https://api.github.com/repos/jeanlaurent/machine/events","assignees_url":"https://api.github.com/repos/jeanlaurent/machine/assignees{/user}","branches_url":"https://api.github.com/repos/jeanlaurent/machine/branches{/branch}","tags_url":"https://api.github.com/repos/jeanlaurent/machine/tags","blobs_url":"https://api.github.com/repos/jeanlaurent/machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeanlaurent/machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeanlaurent/machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeanlaurent/machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeanlaurent/machine/statuses/{sha}","languages_url":"https://api.github.com/repos/jeanlaurent/machine/languages","stargazers_url":"https://api.github.com/repos/jeanlaurent/machine/stargazers","contributors_url":"https://api.github.com/repos/jeanlaurent/machine/contributors","subscribers_url":"https://api.github.com/repos/jeanlaurent/machine/subscribers","subscription_url":"https://api.github.com/repos/jeanlaurent/machine/subscription","commits_url":"https://api.github.com/repos/jeanlaurent/machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeanlaurent/machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeanlaurent/machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeanlaurent/machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeanlaurent/machine/contents/{+path}","compare_url":"https://api.github.com/repos/jeanlaurent/machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeanlaurent/machine/merges","archive_url":"https://api.github.com/repos/jeanlaurent/machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeanlaurent/machine/downloads","issues_url":"https://api.github.com/repos/jeanlaurent/machine/issues{/number}","pulls_url":"https://api.github.com/repos/jeanlaurent/machine/pulls{/number}","milestones_url":"https://api.github.com/repos/jeanlaurent/machine/milestones{/number}","notifications_url":"https://api.github.com/repos/jeanlaurent/machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeanlaurent/machine/labels{/name}","releases_url":"https://api.github.com/repos/jeanlaurent/machine/releases{/id}","created_at":"2015-11-03T17:13:48Z","updated_at":"2015-11-03T17:13:49Z","pushed_at":"2015-12-09T08:46:09Z","git_url":"git://github.com/jeanlaurent/machine.git","ssh_url":"git@github.com:jeanlaurent/machine.git","clone_url":"https://github.com/jeanlaurent/machine.git","svn_url":"https://github.com/jeanlaurent/machine","homepage":"https://docs.docker.com/machine/","size":11045,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"docker:master","ref":"master","sha":"768418b98e9efb67620d4d3710aca7b05ff016f8","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":27494663,"name":"machine","full_name":"docker/machine","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/machine","description":"Machine management for a container-centric world","fork":false,"url":"https://api.github.com/repos/docker/machine","forks_url":"https://api.github.com/repos/docker/machine/forks","keys_url":"https://api.github.com/repos/docker/machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/machine/teams","hooks_url":"https://api.github.com/repos/docker/machine/hooks","issue_events_url":"https://api.github.com/repos/docker/machine/issues/events{/number}","events_url":"https://api.github.com/repos/docker/machine/events","assignees_url":"https://api.github.com/repos/docker/machine/assignees{/user}","branches_url":"https://api.github.com/repos/docker/machine/branches{/branch}","tags_url":"https://api.github.com/repos/docker/machine/tags","blobs_url":"https://api.github.com/repos/docker/machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/machine/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/machine/languages","stargazers_url":"https://api.github.com/repos/docker/machine/stargazers","contributors_url":"https://api.github.com/repos/docker/machine/contributors","subscribers_url":"https://api.github.com/repos/docker/machine/subscribers","subscription_url":"https://api.github.com/repos/docker/machine/subscription","commits_url":"https://api.github.com/repos/docker/machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/machine/contents/{+path}","compare_url":"https://api.github.com/repos/docker/machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/machine/merges","archive_url":"https://api.github.com/repos/docker/machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/machine/downloads","issues_url":"https://api.github.com/repos/docker/machine/issues{/number}","pulls_url":"https://api.github.com/repos/docker/machine/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/machine/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/machine/labels{/name}","releases_url":"https://api.github.com/repos/docker/machine/releases{/id}","created_at":"2014-12-03T15:52:06Z","updated_at":"2015-12-09T08:58:46Z","pushed_at":"2015-12-09T08:50:56Z","git_url":"git://github.com/docker/machine.git","ssh_url":"git@github.com:docker/machine.git","clone_url":"https://github.com/docker/machine.git","svn_url":"https://github.com/docker/machine","homepage":"https://docs.docker.com/machine/","size":31085,"stargazers_count":2769,"watchers_count":2769,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":638,"mirror_url":null,"open_issues_count":406,"forks":638,"open_issues":406,"watchers":2769,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/machine/pulls/2526"},"html":{"href":"https://github.com/docker/machine/pull/2526"},"issue":{"href":"https://api.github.com/repos/docker/machine/issues/2526"},"comments":{"href":"https://api.github.com/repos/docker/machine/issues/2526/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/machine/pulls/2526/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/machine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/machine/pulls/2526/commits"},"statuses":{"href":"https://api.github.com/repos/docker/machine/statuses/0a40f55bab8b286bfa0a954815a157e643199af4"}}}}