Add the ability to surface more helpful error details for display in the UI

Created on 26 August 2024, 4 months ago
Updated 20 September 2024, 3 months ago

Overview

PHP exceptions currently bubble up to error messages like the following in the UI. This will be confusing to end users, and it's not very helpful for local development.

Proposed resolution

I propose doing two things:

  1. Add exception-handling with human-readable error messages for end users
  2. Output additional debugging info to the browser console for developers

β†’ πŸ› OpenAPI validation errors must be provided as a JSON response RTBC

On the front-end, that means translating the JSON into the error modal and console log.

User interface changes

UI changes are explicit in the proposal above.

✨ Feature request
Status

Active

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States traviscarden

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024