mirror of
https://github.com/samvallad33/vestige.git
synced 2026-04-25 00:36:22 +02:00
Before this, any exception from `api.graph()` — network down, dashboard disabled server-side, 500, 404 — surfaced as "No memories yet. Start using Vestige to populate your graph." Indistinguishable from a clean first-run install. Users couldn't tell whether Vestige was empty or actually broken. The fix checks both the error message shape (looks for 404 / not found / empty / "no memor" patterns) AND the last known graph node count. Only when both say "empty" do we keep the onboarding message; anything else surfaces the real error under "Failed to load graph: ..." so debugging doesn't require guessing. |
||
|---|---|---|
| .. | ||
| build | ||
| e2e | ||
| src | ||
| static | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| svelte.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||