print error on error
This commit is contained in:
@@ -24,7 +24,7 @@ const bondFetchProcess = async (url) => {
|
|||||||
});
|
});
|
||||||
var t1 = await BondData.json();
|
var t1 = await BondData.json();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn("errs")
|
console.error(e);
|
||||||
}
|
}
|
||||||
for (let data in t1) {
|
for (let data in t1) {
|
||||||
if (t1[data].interest > 0.7 && !knownBonds.includes(t1[data].id)) {
|
if (t1[data].interest > 0.7 && !knownBonds.includes(t1[data].id)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user