Showing
1 changed file
with
3 additions
and
2 deletions
@@ -370,8 +370,9 @@ function __sendRequest(options, success, fail, wlen, i, args) { | @@ -370,8 +370,9 @@ function __sendRequest(options, success, fail, wlen, i, args) { | ||
370 | obj = options.outobj.toLocaleUpperCase().indexOf("BODY")>-1?body:response; | 370 | obj = options.outobj.toLocaleUpperCase().indexOf("BODY")>-1?body:response; |
371 | } | 371 | } |
372 | } else { | 372 | } else { |
373 | - _err_.message = "Error[response state @" + options.title + "--"+options.url+"]:" + response.statusCode; | ||
374 | - console.info(_err_.message); | 373 | + _err_.message = "接口异常"; |
374 | + console.info("Error[response state @" + options.title + "--"+options.url+"]:" + response.statusCode); | ||
375 | + console.info(response); | ||
375 | console.error(_err_); | 376 | console.error(_err_); |
376 | wlen.len = 0; | 377 | wlen.len = 0; |
377 | fail && fail(_err_); | 378 | fail && fail(_err_); |
-
Please register or login to post a comment