From: Mike Taylor Date: Mon, 7 Jul 2014 11:05:11 +0000 (+0100) Subject: Better diagnostics when SP authentication fails. X-Git-Tag: 1.0.0~413^2~4 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=a8aaa2893d2fe7d6ab409ff2b7330e58d05cac05 Better diagnostics when SP authentication fails. --- diff --git a/src/mkws-core.js b/src/mkws-core.js index d56b1e7..c718071 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -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; }