Review 11.5 Merged

73478[BUGFIX] Catch non-okayish responses in Modal requests

Benjamin Franzke CR +2 V +2 Easy +17 −4 updated 02/14/22, 15:07

Commit message

If the modal component starts an AJAX request that results in a
non-okayish response (>= 400), the underlying fetch() throws an error
that is now caught.

If the response sends an optional body, it is rendered in the modal. If
an empty body is received, a fallback text explaining the issue is
rendered instead.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2