Go to file
rizky 74a70e99ca fix database connection error handling to prevent app crashes
- 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>
2025-09-10 09:07:03 +07:00
.vscode wip fix 2024-01-23 23:03:13 +07:00
app wip fix 2024-01-25 12:21:48 +07:00
data/sqlite fixing compression 2024-12-11 11:17:14 +07:00
pkgs fix database connection error handling to prevent app crashes 2025-09-10 09:07:03 +07:00
.gitignore wip fix 2024-01-25 13:32:34 +07:00
Dockerfile fix 2024-08-15 21:29:07 +07:00
README.md wip fix 2024-01-23 23:03:13 +07:00
bun.lockb fixing compression 2024-12-11 11:17:14 +07:00
dockerzip fix 2024-07-29 18:06:15 +07:00
package.json fix 2024-07-19 20:59:02 +07:00
tsconfig.json wip fix 2024-01-23 23:03:13 +07:00

README.md

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.