From 049884d4092bd96aeee2c5b3b6bd93f04c4fd6e3 Mon Sep 17 00:00:00 2001 From: alext Date: Wed, 15 Nov 2017 23:48:19 +0100 Subject: [PATCH] Added more information into the ajax exception messages. #370 --- src/assets/js/general_functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/js/general_functions.js b/src/assets/js/general_functions.js index 73f9abcb..07bfd0ef 100644 --- a/src/assets/js/general_functions.js +++ b/src/assets/js/general_functions.js @@ -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);