{"action":"created","issue":{"url":"https://api.github.com/repos/henrinormak/Heimdall/issues/44","repository_url":"https://api.github.com/repos/henrinormak/Heimdall","labels_url":"https://api.github.com/repos/henrinormak/Heimdall/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/henrinormak/Heimdall/issues/44/comments","events_url":"https://api.github.com/repos/henrinormak/Heimdall/issues/44/events","html_url":"https://github.com/henrinormak/Heimdall/issues/44","id":172567741,"number":44,"title":"Add Error Logging","user":{"login":"patgoley","id":13385934,"avatar_url":"https://avatars.githubusercontent.com/u/13385934?v=3","gravatar_id":"","url":"https://api.github.com/users/patgoley","html_url":"https://github.com/patgoley","followers_url":"https://api.github.com/users/patgoley/followers","following_url":"https://api.github.com/users/patgoley/following{/other_user}","gists_url":"https://api.github.com/users/patgoley/gists{/gist_id}","starred_url":"https://api.github.com/users/patgoley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patgoley/subscriptions","organizations_url":"https://api.github.com/users/patgoley/orgs","repos_url":"https://api.github.com/users/patgoley/repos","events_url":"https://api.github.com/users/patgoley/events{/privacy}","received_events_url":"https://api.github.com/users/patgoley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T22:13:09Z","updated_at":"2016-08-23T05:50:43Z","closed_at":null,"body":"Anywhere errors might occur it would be nice to log them. I'm currently unable to tell why my call to the failable initializer is returning nil."},"comment":{"url":"https://api.github.com/repos/henrinormak/Heimdall/issues/comments/241633531","html_url":"https://github.com/henrinormak/Heimdall/issues/44#issuecomment-241633531","issue_url":"https://api.github.com/repos/henrinormak/Heimdall/issues/44","id":241633531,"user":{"login":"henrinormak","id":1248491,"avatar_url":"https://avatars.githubusercontent.com/u/1248491?v=3","gravatar_id":"","url":"https://api.github.com/users/henrinormak","html_url":"https://github.com/henrinormak","followers_url":"https://api.github.com/users/henrinormak/followers","following_url":"https://api.github.com/users/henrinormak/following{/other_user}","gists_url":"https://api.github.com/users/henrinormak/gists{/gist_id}","starred_url":"https://api.github.com/users/henrinormak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrinormak/subscriptions","organizations_url":"https://api.github.com/users/henrinormak/orgs","repos_url":"https://api.github.com/users/henrinormak/repos","events_url":"https://api.github.com/users/henrinormak/events{/privacy}","received_events_url":"https://api.github.com/users/henrinormak/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T05:50:43Z","updated_at":"2016-08-23T05:50:43Z","body":"Perhaps a better solution would be to make those initialisers throwable instead? That way it will be up to the user how to handle the errors (including the possibility of ignoring them as is done now). When I originally wrote Heimdall, Swift's error model was not there, so it might be better to revisit the entire initialiser concept, rather than to simply bolt on logging."}}
{"actor":{"display_login":"henrinormak"}}