FCLT#90168 Iets betere topdesk logging

svn path=/Website/branches/v2025.3/; revision=70673
This commit is contained in:
Jos Groot Lipman
2025-10-21 09:26:15 +00:00
parent f952796c90
commit fbdac726de

View File

@@ -179,7 +179,8 @@ ANONYMOUS_Allowed = 1;
var status_ok = "200,201,204,206"; var status_ok = "200,201,204,206";
if (status_ok.indexOf(status) == -1) if (status_ok.indexOf(status) == -1)
{ {
errmsg = "TOPdesk error. Status: " + http_request.status; errmsg = "TOPdesk error. Status: " + http_request.status + " " + http_request.statusText
+ ":\n" + http_request.responseText;
} }
else else
{ {