jdalrymple / gitbeaker

🦊🧪 A comprehensive and typed Gitlab SDK for Node.js, Browsers, Deno and CLI
Other
1.55k stars 295 forks source link

Request Retry Error Message Adjustment #3626

Open Incisive opened 2 weeks ago

Incisive commented 2 weeks ago

Improving retry failure error message to differentiate between a 429 and 502 to prevent confusion for users. Recently had this come up where a gitlab endpoint was responding with a 502, yet GitBeaker was reporting failure due to 429 which was quite a rabbit hole 🐰 . Hopefully this will help prevent confusion for any users in the future.