luci-app-attendedsysupgrade: use detail not message
The new API unifies all human readable responses in the `detail` field
to follow the newly used framework.
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 2a29911121
)
This commit is contained in:
parent
9aa5afa780
commit
0a6151148e
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ function request_sysupgrade(server_url, data) {
|
|||
case 500: // build failed
|
||||
res = response.json()
|
||||
var body = [
|
||||
E('p', {}, _(res.message)),
|
||||
E('p', {}, res.detail),
|
||||
E('p', {}, _("Please report the error message and request")),
|
||||
E('b', {}, _("Request to server:")),
|
||||
E('pre', {}, JSON.stringify(data, null, 4)),
|
||||
|
|
Loading…
Reference in a new issue