diff --git a/machines/eb-app-ui/home/ui/galaxy-dev/src/routes/pri/calendar/month/[date]/+page.svelte b/machines/eb-app-ui/home/ui/galaxy-dev/src/routes/pri/calendar/month/[date]/+page.svelte index 484a9282..8847c192 100644 --- a/machines/eb-app-ui/home/ui/galaxy-dev/src/routes/pri/calendar/month/[date]/+page.svelte +++ b/machines/eb-app-ui/home/ui/galaxy-dev/src/routes/pri/calendar/month/[date]/+page.svelte @@ -19,12 +19,12 @@ if (date != $page.params.date) { globalThis.location.href = `/pri/calendar/month/${date}`; - throw new Error("invalid date format"); + throw "invalid date format"; } } catch { const date = getToday(); globalThis.location.href = `/pri/calendar/month/${date}`; - throw new Error("invalid date"); + throw "invalid date"; } const date = $page.params.date;