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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user