summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-08-22 00:07:20 -1000
committerPaul Spooren <mail@aparcar.org>2021-08-22 00:07:20 -1000
commit2a29911121bf72d5d316b2eeae7f184b8ce14482 (patch)
treef8e800455e29e1f46280973661686cf4de07ec20 /applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources
parent30d143f42bcf787175dd3a3003290aa9aa8bace1 (diff)
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>
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources')
-rw-r--r--applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js
index e49252ba3a..fc179212b1 100644
--- a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js
+++ b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js
@@ -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)),