🥅 removed fetch error catching
This commit is contained in:
parent
6ace967de7
commit
a51cc765ed
1 changed files with 2 additions and 6 deletions
4
app.js
4
app.js
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue