trails/packages
Ullrich Schäfer 2d0a4ac2c7
Fix withDb: catch all non-Response errors as DB failures
The previous version checked for specific error messages that
didn't match Drizzle's actual error text ("Failed query").
Now any error from a withDb-wrapped handler returns 503.
React Router Response objects are still re-thrown.

Verified: DB down → 503 JSON, DB up → 201, home page always 200.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 23:43:10 +01:00
..
db Fix withDb: catch all non-Response errors as DB failures 2026-03-24 23:43:10 +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