diff --git a/bondfetch.js b/bondfetch.js index 76183c0..4c24f6d 100644 --- a/bondfetch.js +++ b/bondfetch.js @@ -36,8 +36,8 @@ const bondFetchProcess = async (url) => { } const fetchBondData = async () => { - await bondFetchProcess(lowbonds); - await bondFetchProcess(highbonds); + await bondFetchProcess(lowbonds).catch((e) => { throw e }); + await bondFetchProcess(highbonds).catch((e) => { throw e }); setTimeout(fetchBondData, 450000); }