trails/packages
Ullrich Schäfer 8fb7771223
Add withDb() helper for graceful DB error handling
Shared withDb() wrapper in @trails-cool/db catches database
connection errors and throws a 503 Response instead of crashing
the server. Re-throws React Router responses (redirects, data()).

Applied to Planner session routes — replaces manual try/catch.
Any route can use withDb(() => ...) for automatic 503 on DB failure.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 23:39:33 +01:00
..
db Add withDb() helper for graceful DB error handling 2026-03-24 23:39:33 +01:00
gpx Fix waypoint loading in Edit in Planner flow 2026-03-24 20:22:58 +00:00
i18n Implement shared packages (tasks 2.1-2.6) 2026-03-22 13:09:35 +01:00
map Implement shared packages (tasks 2.1-2.6) 2026-03-22 13:09:35 +01:00
types Add testing strategy: Vitest for unit tests, Playwright for E2E 2026-03-22 12:36:09 +01:00
ui Add animated progress bar during route computation 2026-03-23 08:34:34 +01:00