{"action":"created","issue":{"url":"https://api.github.com/repos/pre-commit/pre-commit/issues/98","labels_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/98/comments","events_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/98/events","html_url":"https://github.com/pre-commit/pre-commit/issues/98","id":34897020,"number":98,"title":"Improve error messages and logging","user":{"login":"asottile","id":1810591,"avatar_url":"https://avatars.githubusercontent.com/u/1810591?v=3","gravatar_id":"","url":"https://api.github.com/users/asottile","html_url":"https://github.com/asottile","followers_url":"https://api.github.com/users/asottile/followers","following_url":"https://api.github.com/users/asottile/following{/other_user}","gists_url":"https://api.github.com/users/asottile/gists{/gist_id}","starred_url":"https://api.github.com/users/asottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asottile/subscriptions","organizations_url":"https://api.github.com/users/asottile/orgs","repos_url":"https://api.github.com/users/asottile/repos","events_url":"https://api.github.com/users/asottile/events{/privacy}","received_events_url":"https://api.github.com/users/asottile/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pre-commit/pre-commit/labels/feature","name":"feature","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-06-03T19:39:04Z","updated_at":"2015-11-13T20:38:27Z","closed_at":"2015-11-13T20:38:27Z","body":"- [x] Improve error messages in several fatal cases (for example, failure installing a hook may be the hook's fault and not `pre-commit` itself)\r\n- [x] `-v` should have more output.  Maybe `tee` every command to stderr when -v is passed but swallow otherwise.\r\n- [ ] There are several exceptions that are caught and then backup behaviour is attempted.  These should log to somewhere (~/.pre-commit?)"},"comment":{"url":"https://api.github.com/repos/pre-commit/pre-commit/issues/comments/156550086","html_url":"https://github.com/pre-commit/pre-commit/issues/98#issuecomment-156550086","issue_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/98","id":156550086,"user":{"login":"asottile","id":1810591,"avatar_url":"https://avatars.githubusercontent.com/u/1810591?v=3","gravatar_id":"","url":"https://api.github.com/users/asottile","html_url":"https://github.com/asottile","followers_url":"https://api.github.com/users/asottile/followers","following_url":"https://api.github.com/users/asottile/following{/other_user}","gists_url":"https://api.github.com/users/asottile/gists{/gist_id}","starred_url":"https://api.github.com/users/asottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asottile/subscriptions","organizations_url":"https://api.github.com/users/asottile/orgs","repos_url":"https://api.github.com/users/asottile/repos","events_url":"https://api.github.com/users/asottile/events{/privacy}","received_events_url":"https://api.github.com/users/asottile/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T20:38:27Z","updated_at":"2015-11-13T20:38:27Z","body":"This ticket doesn't really have good actionable things, I've closed this in favour of other issues which mention specific error messages that need improvement."}}