Skip to content

Preserve structured HTTP status information in the frontend XML client #20

Open

Description

@LunaStev

Problem

getXml turns every unsuccessful response into a plain Error with a hard-coded Korean message. Callers cannot reliably distinguish not-found, rate limits and temporary service failures without parsing text.

Evidence / regression scenario

Source inspection of getXml and requestXml; no production incident is claimed.

Code references

Audit baseline: 50eb207.

Completion criteria

  • Introduce a small typed HTTP error retaining response status and a safe API error code/message when present.
  • Preserve current successful XML parsing and initial public-page bootstrap behavior.
  • Provide English/Korean user-facing fallback text through the existing localization layer.
  • Test 404, 429, 503, malformed error XML and network failures; never include secret response data in diagnostics.

Scope and dependencies

Difficulty: easy.

This defines error information only; documentation fallback policy is a separate task. Do not add automatic retries for mutations.

Backlog index: #12. Keep the change limited to this issue and include focused verification in the pull request.

Activity

  1. added
    bug
    good first issue
    help wanted
    frontend
    priority medium
    needs testing
    on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrontendgood first issuehelp wantedneeds testingpriority medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions