Closed diasjorge closed 6 years ago
I forgot to mention that data is actually refreshed but you get a prompt saying "Github doesn't seem to be responding"
Yeah, that's handled 'correctly' here:
but I'm not a fan of that function in general. Perhaps a ghub-plus function is warranted since we need such handling in multiple places.
Related #107.
Thanks for the report!
Hi,
I'm getting the following error from magithub
Magithub is now offline: unknown issue: (ghub-http-error 404 "Not found" ((message . "Rate limiting is not enabled.") (documentation_url . "https://developer.github.com/enterprise/2.12/v3/rate_limit/#get-your-current-rate-limit-status")))
This happens when I ask magithub to refresh github data.
I think the related code is here: https://github.com/vermiculus/magithub/blob/d9bd5e4bfcab77c021bfb4573173e9bed48269dd/magithub-dash.el#L121
Could we catch the 404 error and set a limit on that case?