]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
print additional info on fatalError(3)
[tt-rss.git] / tt-rss.js
index 4deac445623b3bd3bb22c56efa17dd314e065ed7..758db77153c324260a02d55f1b5bb5375f571fb7 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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;
                        }