summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-04-09 01:50:07 +0300
committerLV-426 <lv-426@taproot.org.il>2015-04-09 02:03:45 +0300
commit1cc73e0806e60f1a20e59e1bafe90362b2fa1358 (patch)
treee57f2fd0c3dfef8475a7a171dbd8aff1e89afff6 /src/client
parent059428fdf0c613e92e84f7360558815f2e0c9dd9 (diff)
rz_api_backend.js: better error logging
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 bef8bde1..fe974221 100644
--- a/src/client/rz_api_backend.js
+++ b/src/client/rz_api_backend.js
@@ -25,7 +25,7 @@ define(['util', 'model/core'], function(util, model_core) {
function on_error_wrapper(xhr, text_status, err_thrown) {
// log wrap callback
var err_msg = xhr.responseJSON && xhr.responseJSON.error;
- console.error(text_status + ': ' + err_msg);
+ console.error('ajax error: status: \'' + text_status + '\'', error msg: ' + err_msg);
if (on_error && typeof (on_error) === "function") {
on_error(err_msg);
}