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-25 12:57:24 +02:00
committed by martin-mfg
co-authored by Alexandr
parent ae9b6dcd54
commit dec9ed0cd6
+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 || "";