mapbox/ecs-conex

reveal GH authentication failure in `watch`

Opened this issue · 1 comments

If GithubAccessToken is set, but the token doesn't have enough permissions, the error from Github ends up hidden here, causing the next line to fail with an unhelpful error.

I wonder if we could inspect the response from the Github API to make sure it hasn't errored before proceeding.

Probs could do this along w #8