Skip to content

[P3.10] APIClient retry swallows non-connection request errors and loses the cause #781

Description

@frankbria

Severity: low | Category: correctness | Phase: P3.10

Problem

_request_with_retry only catches ConnectionError/Timeout; other RequestException types propagate unwrapped, and exhausted retries replace the real exception with a generic message.

Evidence

codeframe/cli/api_client.py:195

Acceptance criteria

Catch RequestException as fallback, wrap in APIError, and raise ... from last_exc.

Dependencies

None


Filed from the SaaS launch-readiness audit. Atomic: one developer, one session. Work order: strictly P0.1 → P3.12 (no forward dependencies).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3-post-betaLow priority - can wait until after beta (v2.0)priority:lowtype:bugSomething is broken and needs fixing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions