diff --git a/client/src/App.tsx b/client/src/App.tsx
index 69dd466..f113e25 100644
--- a/client/src/App.tsx
+++ b/client/src/App.tsx
@@ -24,8 +24,12 @@
 import { apiUrl } from './utils/constants';
 
 export async function checkSetupStatus(): Promise<boolean> {
-  const { data } = await axios.get('/setup/check', { baseURL: apiUrl });
-  return data.isSetupComplete;
+  try {
+    const { data } = await axios.get('/setup/check', { baseURL: apiUrl });
+    return data.isSetupComplete;
+  } catch (e) {
+    throw new Error('Cannot connect to server', { cause: e });
+  }
 }
 
 export async function appLoader({ request }: LoaderFunctionArgs) {
