GitHub Import - Log GitHub's rate limit error message
GitHub can apply secondary rate limits.
The only way to tell the difference between a secondary rate limit and a regular rate limit is in the content of the response message.
We currently do not parse and log the rate limit response message, so we currently can't know which kind of rate limit has occurred.
It would be good to log such information to see if we need to make improvements to the importer
Proposed solution
Parse and log the error message returned by GitHub's API when the rate limit is reached.
Edited by Luke Duncalfe