Added more information into the ajax exception messages. #370

This commit is contained in:
alext 2017-11-15 23:48:19 +01:00
parent b4d6767801
commit 049884d409
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ window.GeneralFunctions = window.GeneralFunctions || {};
exports.ajaxFailureHandler = function(jqxhr, textStatus, errorThrown) {
var exceptions = [
{
message: 'AJAX Error: ' + errorThrown
message: 'AJAX Error: ' + errorThrown + $(jqxhr.responseText).text()
}
];
GeneralFunctions.displayMessageBox(GeneralFunctions.EXCEPTIONS_TITLE, GeneralFunctions.EXCEPTIONS_MESSAGE);