You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: ensure retried requests go through full error handling and parsing (#135)
When a 401 error occurs and the token is refreshed, the retry request
was bypassing all error handling (403, 404, etc.) and JSON parsing by
returning early. This fix ensures the retried response flows through
the same error checking and parsing logic as the initial request.
Changes:
- Changed `response` from const to let to allow reassignment
- Changed retry logic to reassign response instead of returning early
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <[email protected]>
0 commit comments