]> git.mxchange.org Git - mailer.git/blobdiff - ajax.php
Added more logging of half-failed AJAX requests
[mailer.git] / ajax.php
index be378a274a910ab1e3d56eb1fd28ac011927a62e..e267e9f9b92a8540625deae9b1a9aafee09fa8ab 100644 (file)
--- a/ajax.php
+++ b/ajax.php
@@ -75,7 +75,7 @@ if ((getHttpRequestMethod() == 'POST') && (isPostRequestElementSet('level'))) {
                // Is there an error which is not fine?
                if (!isAjaxHttpStatusAccepted()) {
                        // The process was handled but didn't work
-                       reportBug(__FUNCTION__, __LINE__, 'AJAX request is valid but does not do anything.');
+                       reportBug(__FUNCTION__, __LINE__, 'AJAX request level=' . isPostRequestElementSet('level') . ',status=' . getHttpStatus() . ',callback[' . gettype($GLOBALS['ajax_callback_function']) . ']=' . $GLOBALS['ajax_callback_function'] . ' is valid but does not do anything.');
                } // END - if
        } else {
                // Not allowed