aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--interface/js/rspamd.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js
index 129afcc54..d4a1da70f 100644
--- a/interface/js/rspamd.js
+++ b/interface/js/rspamd.js
@@ -208,7 +208,7 @@
beforeSend: function (xhr) {
xhr.setRequestHeader('Password', getPassword());
},
- error: function () {
+ error: function (data) {
alertMessage('alert-modal alert-error', data.statusText);
},
success: function (data) {
@@ -959,7 +959,7 @@
success: function () {
alertMessage('alert-success', 'Actions successfully saved');
},
- error: function () {
+ error: function (data) {
alertMessage('alert-modal alert-error', data.statusText);
}
});