Provide better info than "an unexpected error has occurred"

Created on 19 August 2025, 9 days ago

Overview

In nearly all instances of "an unexpected error has occurred" appearing in the UI, there is something in the JS console with actual details about the error. Lets get that info into the error modal.

We should also be pickier about what sorts of errors offer the "undo last action" button, because it's not useful much of the time, and gives the impression that even more things are broken when it (reasonably) fails to fix the issue.

Proposed resolution

User interface changes

πŸ“Œ Task
Status

Active

Version

1.0

Component

… to be triaged

Created by

πŸ‡ΊπŸ‡ΈUnited States bnjmnm Ann Arbor, MI

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @bnjmnm
  • πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

    πŸ’― β€” this will massively improve the quality of bug reports, too!

    Hence tagging this .

  • πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί
  • Please find the attached video demonstrating the steps to reproduce the "An unexpected error has occurred while fetching the layout" issue.

  • πŸ‡ΊπŸ‡ΈUnited States bnjmnm Ann Arbor, MI

    Please find the attached video demonstrating the steps to reproduce the "An unexpected error has occurred while fetching the layout" issue

    This is helpful, but just to make things clear, the above is just one of many ways trigger this message. The ""An unexpected error..." is a generic message in the UI that could be triggered by any number of different errors. Detailed, helpful info already exists in the JS console, too! This issue is about bringing those details to the UI

  • πŸ‡ΊπŸ‡ΈUnited States effulgentsia

    The sooner we do this, the sooner we get to reap the benefits, but I don't see why we should block a 1.0.0 release on it. Seems like the kind of thing that could non-disruptively go into 1.1.0 or even 1.0.1. Therefore re-tagging from "stable blocker" to "stable target".

Production build 0.71.5 2024