This repository was archived by the owner on Jul 2, 2026. It is now read-only.
Repository navigation
Flipside CLI v0.6.3
fix(web): return proper 404 page for inaccessible chat sessions (#7466)
- fix(web): return proper 404 page for inaccessible chat sessions
Server functions now return null for 404/403 responses instead of
throwing errors. The component checks for null and throws notFound()
to trigger the site-wide 404 page.
Also replaced all throw new Response(...) with throw new Error(...)
to prevent SSR crashes (TanStack Start bug #5960).
Added documentation in ARCHITECTURE.md about error handling patterns
in server functions.
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com
- fix(web): address PR review comments for chat session error handling
- Return null instead of throwing error when no data in fetchChatMessages
- Check for both !session and !messages before throwing notFound()
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com
Co-authored-by: Claude Opus 4.5 noreply@anthropic.com
Install
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/FlipsideCrypto/flipside-tools/main/install.sh | shWindows: Download the .exe from assets below, or use WSL.