{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/findmypast/usher/pulls/24","id":69973601,"html_url":"https://github.com/findmypast/usher/pull/24","diff_url":"https://github.com/findmypast/usher/pull/24.diff","patch_url":"https://github.com/findmypast/usher/pull/24.patch","issue_url":"https://api.github.com/repos/findmypast/usher/issues/24","number":24,"state":"open","locked":false,"title":"Sleep optional dependecy","user":{"login":"sashman","id":905730,"avatar_url":"https://avatars.githubusercontent.com/u/905730?v=3","gravatar_id":"","url":"https://api.github.com/users/sashman","html_url":"https://github.com/sashman","followers_url":"https://api.github.com/users/sashman/followers","following_url":"https://api.github.com/users/sashman/following{/other_user}","gists_url":"https://api.github.com/users/sashman/gists{/gist_id}","starred_url":"https://api.github.com/users/sashman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashman/subscriptions","organizations_url":"https://api.github.com/users/sashman/orgs","repos_url":"https://api.github.com/users/sashman/repos","events_url":"https://api.github.com/users/sashman/events{/privacy}","received_events_url":"https://api.github.com/users/sashman/received_events","type":"User","site_admin":false},"body":"Wrapping require in a try catch and then null checking as the npm guide suggests. I have only wrapped the sleeping functionality which means that the reties will still happen. I can wrap the entire retry mechanic however if that makes more sense to do?","created_at":"2016-05-13T10:20:10Z","updated_at":"2016-05-13T10:20:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/findmypast/usher/pulls/24/commits","review_comments_url":"https://api.github.com/repos/findmypast/usher/pulls/24/comments","review_comment_url":"https://api.github.com/repos/findmypast/usher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/findmypast/usher/issues/24/comments","statuses_url":"https://api.github.com/repos/findmypast/usher/statuses/694be4b44dedd8a910c5e3bb87e1c7d6ac090ab7","head":{"label":"findmypast:sleep_optional_dependecy","ref":"sleep_optional_dependecy","sha":"694be4b44dedd8a910c5e3bb87e1c7d6ac090ab7","user":{"login":"findmypast","id":9417510,"avatar_url":"https://avatars.githubusercontent.com/u/9417510?v=3","gravatar_id":"","url":"https://api.github.com/users/findmypast","html_url":"https://github.com/findmypast","followers_url":"https://api.github.com/users/findmypast/followers","following_url":"https://api.github.com/users/findmypast/following{/other_user}","gists_url":"https://api.github.com/users/findmypast/gists{/gist_id}","starred_url":"https://api.github.com/users/findmypast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/findmypast/subscriptions","organizations_url":"https://api.github.com/users/findmypast/orgs","repos_url":"https://api.github.com/users/findmypast/repos","events_url":"https://api.github.com/users/findmypast/events{/privacy}","received_events_url":"https://api.github.com/users/findmypast/received_events","type":"Organization","site_admin":false},"repo":{"id":54659973,"name":"usher","full_name":"findmypast/usher","owner":{"login":"findmypast","id":9417510,"avatar_url":"https://avatars.githubusercontent.com/u/9417510?v=3","gravatar_id":"","url":"https://api.github.com/users/findmypast","html_url":"https://github.com/findmypast","followers_url":"https://api.github.com/users/findmypast/followers","following_url":"https://api.github.com/users/findmypast/following{/other_user}","gists_url":"https://api.github.com/users/findmypast/gists{/gist_id}","starred_url":"https://api.github.com/users/findmypast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/findmypast/subscriptions","organizations_url":"https://api.github.com/users/findmypast/orgs","repos_url":"https://api.github.com/users/findmypast/repos","events_url":"https://api.github.com/users/findmypast/events{/privacy}","received_events_url":"https://api.github.com/users/findmypast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/findmypast/usher","description":"A command line app to usher our containers to production","fork":false,"url":"https://api.github.com/repos/findmypast/usher","forks_url":"https://api.github.com/repos/findmypast/usher/forks","keys_url":"https://api.github.com/repos/findmypast/usher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/findmypast/usher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/findmypast/usher/teams","hooks_url":"https://api.github.com/repos/findmypast/usher/hooks","issue_events_url":"https://api.github.com/repos/findmypast/usher/issues/events{/number}","events_url":"https://api.github.com/repos/findmypast/usher/events","assignees_url":"https://api.github.com/repos/findmypast/usher/assignees{/user}","branches_url":"https://api.github.com/repos/findmypast/usher/branches{/branch}","tags_url":"https://api.github.com/repos/findmypast/usher/tags","blobs_url":"https://api.github.com/repos/findmypast/usher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/findmypast/usher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/findmypast/usher/git/refs{/sha}","trees_url":"https://api.github.com/repos/findmypast/usher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/findmypast/usher/statuses/{sha}","languages_url":"https://api.github.com/repos/findmypast/usher/languages","stargazers_url":"https://api.github.com/repos/findmypast/usher/stargazers","contributors_url":"https://api.github.com/repos/findmypast/usher/contributors","subscribers_url":"https://api.github.com/repos/findmypast/usher/subscribers","subscription_url":"https://api.github.com/repos/findmypast/usher/subscription","commits_url":"https://api.github.com/repos/findmypast/usher/commits{/sha}","git_commits_url":"https://api.github.com/repos/findmypast/usher/git/commits{/sha}","comments_url":"https://api.github.com/repos/findmypast/usher/comments{/number}","issue_comment_url":"https://api.github.com/repos/findmypast/usher/issues/comments{/number}","contents_url":"https://api.github.com/repos/findmypast/usher/contents/{+path}","compare_url":"https://api.github.com/repos/findmypast/usher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/findmypast/usher/merges","archive_url":"https://api.github.com/repos/findmypast/usher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/findmypast/usher/downloads","issues_url":"https://api.github.com/repos/findmypast/usher/issues{/number}","pulls_url":"https://api.github.com/repos/findmypast/usher/pulls{/number}","milestones_url":"https://api.github.com/repos/findmypast/usher/milestones{/number}","notifications_url":"https://api.github.com/repos/findmypast/usher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/findmypast/usher/labels{/name}","releases_url":"https://api.github.com/repos/findmypast/usher/releases{/id}","deployments_url":"https://api.github.com/repos/findmypast/usher/deployments","created_at":"2016-03-24T17:12:48Z","updated_at":"2016-04-04T16:05:53Z","pushed_at":"2016-05-13T10:10:15Z","git_url":"git://github.com/findmypast/usher.git","ssh_url":"git@github.com:findmypast/usher.git","clone_url":"https://github.com/findmypast/usher.git","svn_url":"https://github.com/findmypast/usher","homepage":null,"size":192,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"findmypast:master","ref":"master","sha":"e7e4e6e423f144b1117aff21845aade50166341d","user":{"login":"findmypast","id":9417510,"avatar_url":"https://avatars.githubusercontent.com/u/9417510?v=3","gravatar_id":"","url":"https://api.github.com/users/findmypast","html_url":"https://github.com/findmypast","followers_url":"https://api.github.com/users/findmypast/followers","following_url":"https://api.github.com/users/findmypast/following{/other_user}","gists_url":"https://api.github.com/users/findmypast/gists{/gist_id}","starred_url":"https://api.github.com/users/findmypast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/findmypast/subscriptions","organizations_url":"https://api.github.com/users/findmypast/orgs","repos_url":"https://api.github.com/users/findmypast/repos","events_url":"https://api.github.com/users/findmypast/events{/privacy}","received_events_url":"https://api.github.com/users/findmypast/received_events","type":"Organization","site_admin":false},"repo":{"id":54659973,"name":"usher","full_name":"findmypast/usher","owner":{"login":"findmypast","id":9417510,"avatar_url":"https://avatars.githubusercontent.com/u/9417510?v=3","gravatar_id":"","url":"https://api.github.com/users/findmypast","html_url":"https://github.com/findmypast","followers_url":"https://api.github.com/users/findmypast/followers","following_url":"https://api.github.com/users/findmypast/following{/other_user}","gists_url":"https://api.github.com/users/findmypast/gists{/gist_id}","starred_url":"https://api.github.com/users/findmypast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/findmypast/subscriptions","organizations_url":"https://api.github.com/users/findmypast/orgs","repos_url":"https://api.github.com/users/findmypast/repos","events_url":"https://api.github.com/users/findmypast/events{/privacy}","received_events_url":"https://api.github.com/users/findmypast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/findmypast/usher","description":"A command line app to usher our containers to production","fork":false,"url":"https://api.github.com/repos/findmypast/usher","forks_url":"https://api.github.com/repos/findmypast/usher/forks","keys_url":"https://api.github.com/repos/findmypast/usher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/findmypast/usher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/findmypast/usher/teams","hooks_url":"https://api.github.com/repos/findmypast/usher/hooks","issue_events_url":"https://api.github.com/repos/findmypast/usher/issues/events{/number}","events_url":"https://api.github.com/repos/findmypast/usher/events","assignees_url":"https://api.github.com/repos/findmypast/usher/assignees{/user}","branches_url":"https://api.github.com/repos/findmypast/usher/branches{/branch}","tags_url":"https://api.github.com/repos/findmypast/usher/tags","blobs_url":"https://api.github.com/repos/findmypast/usher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/findmypast/usher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/findmypast/usher/git/refs{/sha}","trees_url":"https://api.github.com/repos/findmypast/usher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/findmypast/usher/statuses/{sha}","languages_url":"https://api.github.com/repos/findmypast/usher/languages","stargazers_url":"https://api.github.com/repos/findmypast/usher/stargazers","contributors_url":"https://api.github.com/repos/findmypast/usher/contributors","subscribers_url":"https://api.github.com/repos/findmypast/usher/subscribers","subscription_url":"https://api.github.com/repos/findmypast/usher/subscription","commits_url":"https://api.github.com/repos/findmypast/usher/commits{/sha}","git_commits_url":"https://api.github.com/repos/findmypast/usher/git/commits{/sha}","comments_url":"https://api.github.com/repos/findmypast/usher/comments{/number}","issue_comment_url":"https://api.github.com/repos/findmypast/usher/issues/comments{/number}","contents_url":"https://api.github.com/repos/findmypast/usher/contents/{+path}","compare_url":"https://api.github.com/repos/findmypast/usher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/findmypast/usher/merges","archive_url":"https://api.github.com/repos/findmypast/usher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/findmypast/usher/downloads","issues_url":"https://api.github.com/repos/findmypast/usher/issues{/number}","pulls_url":"https://api.github.com/repos/findmypast/usher/pulls{/number}","milestones_url":"https://api.github.com/repos/findmypast/usher/milestones{/number}","notifications_url":"https://api.github.com/repos/findmypast/usher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/findmypast/usher/labels{/name}","releases_url":"https://api.github.com/repos/findmypast/usher/releases{/id}","deployments_url":"https://api.github.com/repos/findmypast/usher/deployments","created_at":"2016-03-24T17:12:48Z","updated_at":"2016-04-04T16:05:53Z","pushed_at":"2016-05-13T10:10:15Z","git_url":"git://github.com/findmypast/usher.git","ssh_url":"git@github.com:findmypast/usher.git","clone_url":"https://github.com/findmypast/usher.git","svn_url":"https://github.com/findmypast/usher","homepage":null,"size":192,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/findmypast/usher/pulls/24"},"html":{"href":"https://github.com/findmypast/usher/pull/24"},"issue":{"href":"https://api.github.com/repos/findmypast/usher/issues/24"},"comments":{"href":"https://api.github.com/repos/findmypast/usher/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/findmypast/usher/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/findmypast/usher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/findmypast/usher/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/findmypast/usher/statuses/694be4b44dedd8a910c5e3bb87e1c7d6ac090ab7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":18,"deletions":3,"changed_files":2}}