diff --git a/config-ui/src/routes/layout/loader.ts b/config-ui/src/routes/layout/loader.ts index 7d0099080f3..4d486b68c54 100644 --- a/config-ui/src/routes/layout/loader.ts +++ b/config-ui/src/routes/layout/loader.ts @@ -34,8 +34,8 @@ export const loader = async ({ request }: Props) => { try { const envPlugins = import.meta.env.DEVLAKE_PLUGINS.split(',').filter(Boolean); plugins = getRegisterPlugins().filter((plugin) => !envPlugins.length || envPlugins.includes(plugin)); - } catch { - throw json({ error: ErrorEnum.API_OFFLINE }, { status: 503 }); + } catch (err) { + plugins = getRegisterPlugins(); } try {