1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 10:25:56 +00:00

print additional info on fatalError(3)

This commit is contained in:
Andrew Dolgov
2006-02-20 05:29:52 +01:00
parent 2f3c902cdc
commit 91d612b39e
3 changed files with 15 additions and 5 deletions

View File

@@ -143,14 +143,14 @@ function backend_sanity_check_callback() {
try {
if (!xmlhttp.responseXML) {
fatalError(3);
fatalError(3, "D001;" + xmlhttp.responseText);
return;
}
var reply = xmlhttp.responseXML.firstChild;
if (!reply) {
fatalError(3);
fatalError(3, "D002;" + xmlhttp.responseText);
return;
}