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:
Paul Spooren 2021-08-22 00:07:20 -10:00
parent 1e65672ab2
commit 53f59d35cc

View file

@ -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)),