mirror of https://github.com/calzoneman/sync.git
Tweak get-info for JSON fail
This commit is contained in:
parent
d1fee84200
commit
090eaa37c2
|
@ -22,7 +22,7 @@ function getJSON(options, callback) {
|
||||||
var data = JSON.parse(buffer);
|
var data = JSON.parse(buffer);
|
||||||
}
|
}
|
||||||
catch(e) {
|
catch(e) {
|
||||||
console.log("JSON fail");
|
console.log("JSON fail: " + options);
|
||||||
}
|
}
|
||||||
callback(res.statusCode, data);
|
callback(res.statusCode, data);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue