diff --git a/frontend/src/routes/+page.ts b/frontend/src/routes/+page.ts index 0a476d7..c642531 100644 --- a/frontend/src/routes/+page.ts +++ b/frontend/src/routes/+page.ts @@ -10,7 +10,7 @@ export async function load({ fetch }) { const response = await fetch(`${API_URL}/route-categories`); categories = await response.json(); } catch (ex) { - error(500); + error(404, "API Not Found"); } return { categories };