luci-app-attendedsysupgrade: format error details
authorEric Fahlgren <redacted>
Sat, 21 Mar 2026 03:54:09 +0000 (20:54 -0700)
committerPaul Donald <redacted>
Mon, 23 Mar 2026 18:27:01 +0000 (19:27 +0100)
commita57e5e10a234f414cbe059fb1508ab6600408bc0
tree0be345f135f28b90de9f58b2eed02a7a8d00e937
parentd7087a1165ee947af83690841dbeae6f50a2a147
luci-app-attendedsysupgrade: format error details

On certain rare errors, the ASU server returns a JSON formatted
block of details.  The app was just displaying this object directly,
resulting in displaying a useless 'Object [object]'.  If the error
details are not a string, then stringify it so we can make sense
of the error.

Signed-off-by: Eric Fahlgren <redacted>
applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js
git clone https://git.99rst.org/PROJECT