From 5a22b731fdbe34f2f77350407e98c5cfac1edf90 Mon Sep 17 00:00:00 2001 From: ryzetech Date: Thu, 19 Jan 2023 09:07:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20should=20continute=20when=20shit?= =?UTF-8?q?=20goes=20tits=20up?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app.js b/app.js index 7855ca5..b520485 100644 --- a/app.js +++ b/app.js @@ -62,6 +62,7 @@ async function loop() { //console.log(`Checking ${space.id}...`); let o = await checkSpace(space); //console.log(`Space ${space.id} is ${o ? "open" : "closed"}`); + if (typeof o === "undefined") { continue; } if (o !== cache.get(space.id)) { cache.set(space.id, o); let update = await prisma.space.upsert({