Better diagnostics when SP authentication fails.
[mkws-moved-to-github.git] / src / mkws-core.js
index d56b1e7..c718071 100644 (file)
@@ -441,7 +441,8 @@ mkws.pagerNext = function(tname) {
       }
       var status = $(data).find("status");
       if (status.text() != "OK") {
-        alert("service proxy auth response status: " + status.text() + ", give up!");
+        var message = $(data).find("message");
+        alert("Service Proxy authentication response: " + status.text() + " (" + message.text() + ")");
         return;
       }