chore: add comment with issue link to the retryer rate limit detection logic (#4508)

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
Alexandr Garbuzov
2025-10-04 19:01:58 +03:00
committed by GitHub
co-authored by Alexandr
parent 3ce1fd74ae
commit ba9406e84c
+1
View File
@@ -42,6 +42,7 @@ const retryer = async (fetcher, variables, retries = 0) => {
);
// react on both type and message-based rate-limit signals.
// https://github.com/anuraghazra/github-readme-stats/issues/4425
const errors = response?.data?.errors;
const errorType = errors?.[0]?.type;
const errorMsg = errors?.[0]?.message || "";