Fixes potential nil panic in 401 retry path by properly checking http.NewRequest error. Also updates error message wrapping to match convention. generated by llmgit Co-Authored-By: Claude <noreply@anthropic.com>
Fixes potential nil panic in 401 retry path by properly checking http.NewRequest error. Also updates error message wrapping to match convention. generated by llmgit Co-Authored-By: Claude <noreply@anthropic.com>