Showing
2 changed files
with
4 additions
and
4 deletions
@@ -348,7 +348,7 @@ function __sendRequest(options, success, fail,wlen,i,args) { | @@ -348,7 +348,7 @@ function __sendRequest(options, success, fail,wlen,i,args) { | ||
348 | if (!(typeof obj == "object")) { | 348 | if (!(typeof obj == "object")) { |
349 | _err_.message = "Error[json parse@" + options.title + "]:" + body; | 349 | _err_.message = "Error[json parse@" + options.title + "]:" + body; |
350 | console.info(_err_.message); | 350 | console.info(_err_.message); |
351 | - console.error(err); | 351 | + console.error(_err_); |
352 | fail && fail(_err_); | 352 | fail && fail(_err_); |
353 | return; | 353 | return; |
354 | } | 354 | } |
@@ -358,7 +358,7 @@ function __sendRequest(options, success, fail,wlen,i,args) { | @@ -358,7 +358,7 @@ function __sendRequest(options, success, fail,wlen,i,args) { | ||
358 | } else { | 358 | } else { |
359 | _err_.message = "Error[response state @" + options.title + "]:" + response; | 359 | _err_.message = "Error[response state @" + options.title + "]:" + response; |
360 | console.info(_err_.message); | 360 | console.info(_err_.message); |
361 | - console.error(err); | 361 | + console.error(_err_); |
362 | fail && fail(_err_); | 362 | fail && fail(_err_); |
363 | return; | 363 | return; |
364 | } | 364 | } |
@@ -348,7 +348,7 @@ function __sendRequest(options, success, fail,wlen,i,args) { | @@ -348,7 +348,7 @@ function __sendRequest(options, success, fail,wlen,i,args) { | ||
348 | if (!(typeof obj == "object")) { | 348 | if (!(typeof obj == "object")) { |
349 | _err_.message = "Error[json parse@" + options.title + "]:" + body; | 349 | _err_.message = "Error[json parse@" + options.title + "]:" + body; |
350 | console.info(_err_.message); | 350 | console.info(_err_.message); |
351 | - console.error(err); | 351 | + console.error(_err_); |
352 | fail && fail(_err_); | 352 | fail && fail(_err_); |
353 | return; | 353 | return; |
354 | } | 354 | } |
@@ -358,7 +358,7 @@ function __sendRequest(options, success, fail,wlen,i,args) { | @@ -358,7 +358,7 @@ function __sendRequest(options, success, fail,wlen,i,args) { | ||
358 | } else { | 358 | } else { |
359 | _err_.message = "Error[response state @" + options.title + "]:" + response; | 359 | _err_.message = "Error[response state @" + options.title + "]:" + response; |
360 | console.info(_err_.message); | 360 | console.info(_err_.message); |
361 | - console.error(err); | 361 | + console.error(_err_); |
362 | fail && fail(_err_); | 362 | fail && fail(_err_); |
363 | return; | 363 | return; |
364 | } | 364 | } |
-
Please register or login to post a comment