diff --git a/apps/web/src/components/events-display/index.tsx b/apps/web/src/components/events-display/index.tsx index 305c5aa3..e153a40b 100644 --- a/apps/web/src/components/events-display/index.tsx +++ b/apps/web/src/components/events-display/index.tsx @@ -76,9 +76,14 @@ async function EventList({ }) { const events = await fetchEvents(); + if (!events.ok) { + console.warn("Failed to fetch events from Ilmomasiina", events.error); + return null; + } + return (