{"action":"created","issue":{"url":"https://api.github.com/repos/lingochamp/FileDownloader/issues/67","repository_url":"https://api.github.com/repos/lingochamp/FileDownloader","labels_url":"https://api.github.com/repos/lingochamp/FileDownloader/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/lingochamp/FileDownloader/issues/67/comments","events_url":"https://api.github.com/repos/lingochamp/FileDownloader/issues/67/events","html_url":"https://github.com/lingochamp/FileDownloader/issues/67","id":142297582,"number":67,"title":"FileDownloadRunnable.HttpRequestException is private","user":{"login":"HugoGresse","id":662377,"avatar_url":"https://avatars.githubusercontent.com/u/662377?v=3","gravatar_id":"","url":"https://api.github.com/users/HugoGresse","html_url":"https://github.com/HugoGresse","followers_url":"https://api.github.com/users/HugoGresse/followers","following_url":"https://api.github.com/users/HugoGresse/following{/other_user}","gists_url":"https://api.github.com/users/HugoGresse/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoGresse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoGresse/subscriptions","organizations_url":"https://api.github.com/users/HugoGresse/orgs","repos_url":"https://api.github.com/users/HugoGresse/repos","events_url":"https://api.github.com/users/HugoGresse/events{/privacy}","received_events_url":"https://api.github.com/users/HugoGresse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lingochamp/FileDownloader/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"Jacksgong","id":6176417,"avatar_url":"https://avatars.githubusercontent.com/u/6176417?v=3","gravatar_id":"","url":"https://api.github.com/users/Jacksgong","html_url":"https://github.com/Jacksgong","followers_url":"https://api.github.com/users/Jacksgong/followers","following_url":"https://api.github.com/users/Jacksgong/following{/other_user}","gists_url":"https://api.github.com/users/Jacksgong/gists{/gist_id}","starred_url":"https://api.github.com/users/Jacksgong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jacksgong/subscriptions","organizations_url":"https://api.github.com/users/Jacksgong/orgs","repos_url":"https://api.github.com/users/Jacksgong/repos","events_url":"https://api.github.com/users/Jacksgong/events{/privacy}","received_events_url":"https://api.github.com/users/Jacksgong/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-03-21T09:43:33Z","updated_at":"2016-04-05T12:31:14Z","closed_at":"2016-04-04T10:56:18Z","body":"I wanted to have more control of download errors but the Exception when the HttpRequest failed is private (`FileDownloadRunnable` is a private class, and `FileDownloadRunnable.HttpRequestException` is in it). \r\n\r\nIf wil be great if\r\n- we have the http error code from the exception, or the full OkHttp `Response` of the network request \r\n- make `FileDownloadRunnable` public so we can check the instance of it. "},"comment":{"url":"https://api.github.com/repos/lingochamp/FileDownloader/issues/comments/205779645","html_url":"https://github.com/lingochamp/FileDownloader/issues/67#issuecomment-205779645","issue_url":"https://api.github.com/repos/lingochamp/FileDownloader/issues/67","id":205779645,"user":{"login":"Jacksgong","id":6176417,"avatar_url":"https://avatars.githubusercontent.com/u/6176417?v=3","gravatar_id":"","url":"https://api.github.com/users/Jacksgong","html_url":"https://github.com/Jacksgong","followers_url":"https://api.github.com/users/Jacksgong/followers","following_url":"https://api.github.com/users/Jacksgong/following{/other_user}","gists_url":"https://api.github.com/users/Jacksgong/gists{/gist_id}","starred_url":"https://api.github.com/users/Jacksgong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jacksgong/subscriptions","organizations_url":"https://api.github.com/users/Jacksgong/orgs","repos_url":"https://api.github.com/users/Jacksgong/repos","events_url":"https://api.github.com/users/Jacksgong/events{/privacy}","received_events_url":"https://api.github.com/users/Jacksgong/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T12:31:14Z","updated_at":"2016-04-05T12:31:14Z","body":"Enhanced in [v0.2.1](https://github.com/lingochamp/FileDownloader/releases/tag/v0.2.1)."}}