mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Merge pull request #1431 from pi-hole/fix/memory_warning
Extend warning shown on server-side data processing errors
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