print error on error

This commit is contained in:
2020-05-14 12:16:06 +02:00
parent 811e953e58
commit ac27d775db

View File

@@ -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)) {