Review main Merged

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

Andreas Kienast CR +2 V +2 Easy +17 −4 updated 02/14/22, 14:56

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