summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rz_api_backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/rz_api_backend.js b/src/client/rz_api_backend.js
index 936fef11..4f44031e 100644
--- a/src/client/rz_api_backend.js
+++ b/src/client/rz_api_backend.js
@@ -24,7 +24,7 @@ define(['util', 'model/core'], function(util, model_core) {
var err_msg = xhr.responseJSON && xhr.responseJSON.error;
console.error('ajax error: status: \'' + text_status + '\' error-msg: ' + err_msg);
if (on_error && typeof (on_error) === "function") {
- on_error(err_msg);
+ on_error(xhr, text_status, err_thrown);
}
}