Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix(frontend): handle 404 errors in recent projects cache (#19041)

boojack6604330d6e7a
diff --git a/frontend/src/components/Project/useRecentProjects.ts b/frontend/src/components/Project/useRecentProjects.ts
index 31420d6845..859ec1a44f 100644
--- a/frontend/src/components/Project/useRecentProjects.ts
+++ b/frontend/src/components/Project/useRecentProjects.ts
@@ -36,7 +36,13 @@ export const useRecentProjects = () => {
const projects = [];
const invalidProjects: string[] = [];
- await projectV1Store.batchGetOrFetchProjects(recentViewProjectNames.value);
+ try {
+ await projectV1Store.batchGetOrFetchProjects(
+ recentViewProjectNames.value
+ );
+ } catch {
+ // Some projects may have failed to fetch (e.g., 404), continue to check individually
+ }
for (const projectName of recentViewProjectNames.value) {
try {