summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/root/www/luci-static/resources')
-rw-r--r--applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js b/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
index c2fe81d58a..9b67faf515 100644
--- a/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
+++ b/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
@@ -373,8 +373,8 @@ function server_request(request_dict, path, callback) {
error_box("No firmware created due to image size. Try again with less packages selected.")
} else if (request.status === 422) {
- error_box("Unknown package in request")
-
+ var package_missing = response.getResponseHeader("X-Unknown-Package");
+ error_box("Unknown package in request: <b>" + package_missing + "</b>")
} else if (request.status === 500) {
request_json = JSON.parse(request_text)