From 61df349ceed59bef2c96e3d00adf5901aa2fff28 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 18 Aug 2024 20:01:17 +0200 Subject: [PATCH] Capture error in case the connection is not OK --- app/ui/guests/table.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/ui/guests/table.tsx b/app/ui/guests/table.tsx index d7a71ae..0f31a0c 100644 --- a/app/ui/guests/table.tsx +++ b/app/ui/guests/table.tsx @@ -23,6 +23,8 @@ export default async function guestsTable() { status: record.attributes.status }); }); + }, (error) => { + return []; }); return (