{"action":"closed","issue":{"url":"https://api.github.com/repos/calzoneman/sync/issues/500","labels_url":"https://api.github.com/repos/calzoneman/sync/issues/500/labels{/name}","comments_url":"https://api.github.com/repos/calzoneman/sync/issues/500/comments","events_url":"https://api.github.com/repos/calzoneman/sync/issues/500/events","html_url":"https://github.com/calzoneman/sync/issues/500","id":102040937,"number":500,"title":"Exit if connection to database failed","user":{"login":"damianb","id":121707,"avatar_url":"https://avatars.githubusercontent.com/u/121707?v=3","gravatar_id":"","url":"https://api.github.com/users/damianb","html_url":"https://github.com/damianb","followers_url":"https://api.github.com/users/damianb/followers","following_url":"https://api.github.com/users/damianb/following{/other_user}","gists_url":"https://api.github.com/users/damianb/gists{/gist_id}","starred_url":"https://api.github.com/users/damianb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianb/subscriptions","organizations_url":"https://api.github.com/users/damianb/orgs","repos_url":"https://api.github.com/users/damianb/repos","events_url":"https://api.github.com/users/damianb/events{/privacy}","received_events_url":"https://api.github.com/users/damianb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-20T02:11:13Z","updated_at":"2015-08-23T02:41:15Z","closed_at":"2015-08-23T02:41:15Z","body":"As on tin.  Currently the event is marked \"fatal: true\" and logged as such (or console.dir'd, I've not looked at the code) but it clearly is a situation where the application *should* terminate and tell the user to check the database et al."}}