From a8aaa2893d2fe7d6ab409ff2b7330e58d05cac05 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 7 Jul 2014 12:05:11 +0100 Subject: [PATCH] Better diagnostics when SP authentication fails. --- src/mkws-core.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 1.7.10.4