mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 20:55:28 +00:00
Extend warning shown on server-side data processing errors.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -142,7 +142,11 @@ function handleAjaxError(xhr, textStatus) {
|
||||
} else if (xhr.responseText.indexOf("Connection refused") !== -1) {
|
||||
alert("An error occurred while loading the data: Connection refused. Is FTL running?");
|
||||
} else {
|
||||
alert("An unknown error occurred while loading the data.\n" + xhr.responseText);
|
||||
alert(
|
||||
"An unknown error occurred while loading the data.\n" +
|
||||
xhr.responseText +
|
||||
"\nCheck the server's log files (/var/log/lighttpd/error.log when you're using the default Pi-hole web server) for details. You may need to increase the memory available for Pi-hole in case you requested a lot of data."
|
||||
);
|
||||
}
|
||||
|
||||
$("#all-queries_processing").hide();
|
||||
|
||||
Reference in New Issue
Block a user