74a70e99ca7a32850dc4daa0a4878a9a5b65e2e0
- Add proper error handling in database connection attempts - Set g.db to null when connection fails to prevent subsequent crashes - Add null check in execQuery to throw meaningful error when DB unavailable - Improve API endpoint to return 503 status when database is unavailable - Enhanced logging for better debugging of connection issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
prasi-deploy
To install dependencies:
bun install
To run:
bun run src/index.ts
This project was created using bun init in bun v1.0.3. Bun is a fast all-in-one JavaScript runtime.
Languages
TypeScript
99.7%
Dockerfile
0.3%