Closed CampGareth closed 6 years ago
A straightforward fix if ever there was one :). Thinking "outside the diff":
errAuthFailedInvalidToken
? AFAICT, that symbol is now unused.To test this fix you could spin up a docker container with no network interface using --net none
. As for the others I'll make a card on trello to consider this further, there are likely to be quite wide-reaching changes required.
In the event of a network error reco currently outputs errors about an invalid token. This PR reports the error returned by request.go which may be 'invalid token' or a network error.