🥅 removed fetch error catching

This commit is contained in:
ryzetech 2023-01-18 17:34:20 +01:00
parent 6ace967de7
commit a51cc765ed

4
app.js
View file

@ -21,12 +21,8 @@ const cache = new NodeCache({ stdTTL: config.checkperiod * 3 });
})();
async function checkSpace(space) {
try {
const response = await fetch(space.endpoint);
const data = await response.json();
} catch (error) {
console.error(error);
}
let open;
if (!space.path) {