Files
codex/codex-rs/core/src
T
gt-oai 944541e936 Add more detail to 401 error (#10508)
Add the error.message if it exists, the body otherwise. Truncate body to
1k characters. Print the cf-ray and the requestId.

**Before:**
<img width="860" height="305" alt="Screenshot 2026-02-03 at 13 15 28"
src="https://github.com/user-attachments/assets/949d5a4d-2b51-488c-a723-c6deffde0353"
/>

**After:**
<img width="1523" height="373" alt="Screenshot 2026-02-03 at 13 15 38"
src="https://github.com/user-attachments/assets/f96a747e-e596-4a7a-aae9-64210d805b26"
/>
944541e936 ยท 2026-02-03 14:58:33 +00:00
History
..
2026-01-27 11:04:23 -08:00
2026-01-30 10:40:09 +00:00
2026-01-28 15:29:14 +01:00
2026-02-03 14:58:33 +00:00
2026-02-02 16:57:29 -08:00
2025-11-28 11:34:57 +00:00
2026-01-27 11:04:23 -08:00
2026-01-19 11:35:34 +00:00
2026-01-30 10:40:09 +00:00