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 2a29911121bf72d5d316b2eeae7f184b8ce14482)
This commit is contained in:
parent
9aa5afa780
commit
0a6151148e
@ -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…
x
Reference in New Issue
Block a user