hhd-dev / hhd-ui

The main UI for the Handheld Daemon.
GNU General Public License v3.0
7 stars 4 forks source link

Handle Errors Gracefully #4

Closed antheas closed 7 months ago

antheas commented 7 months ago

Right now, if there is an error in the UI, it is not caught and the browser displays an error.

There should be a topmost container handling the errors, or preferably, a per-setting container that only disables a particular broken setting (the per-setting container can wrap the render child function, it does not have to be per setting type).

aarron-lee commented 7 months ago

added error containers to each hhd component, so it containers the error per-setting

image