Skip to content

luci-app-attendedsysupgrade: format error details#8452

Merged
systemcrash merged 1 commit intoopenwrt:masterfrom
efahl:error-details
Mar 23, 2026
Merged

luci-app-attendedsysupgrade: format error details#8452
systemcrash merged 1 commit intoopenwrt:masterfrom
efahl:error-details

Conversation

@efahl
Copy link
Copy Markdown
Contributor

@efahl efahl commented Mar 21, 2026

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.

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 <ericfahlgren@gmail.com>
@systemcrash systemcrash merged commit a57e5e1 into openwrt:master Mar 23, 2026
6 checks passed
@systemcrash
Copy link
Copy Markdown
Contributor

Merged. Thanks @efahl

@efahl efahl deleted the error-details branch March 23, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants