mirror of
https://github.com/openai/codex.git
synced 2026-11-10 21:00:47 +00:00
## Why Failures to save `approvals_reviewer` in the TUI hide the underlying configuration error, leaving users without the details needed to fix it. ## What changed Use `format_config_error` when displaying save failures so the message includes the error chain, including configuration file locations and parse errors. ## Testing Add a regression test that introduces an unclosed array in `config.toml` after startup, attempts to save the approvals reviewer through the app server, and verifies the rendered error retains the parse failure and its location. GitOrigin-RevId: bb29b5f8e61569e6c1c23a0c968e64091a95f72d