...
|
...
|
@@ -125,7 +125,8 @@ function __requestApi(config, apiOpt, req, callback) { |
|
|
if (response && response.statusCode === 200) {
|
|
|
var obj = JSON.parse(body)
|
|
|
if (!(typeof obj == "object")) {
|
|
|
_err_.message = "Error[json parse@" + options.title + "--"+options.url+"]:" + JSON.stringify(body);
|
|
|
_err_.message = "Error[json parse@" + options.title + "--"+options.url+"]:" + body;
|
|
|
console.log(body);
|
|
|
console.info(_err_.message);
|
|
|
console.error(_err_);
|
|
|
return callback(_err_, null);
|
...
|
...
|
|