Files
prasi-api/pkgs/api
rizkyandClaude 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
..
2024-01-23 23:03:13 +07:00
fix
2024-11-14 18:44:16 +07:00
2024-07-18 22:48:10 +07:00
2024-08-10 06:30:26 +07:00
2024-05-15 13:25:12 +07:00
fix
2024-11-13 17:25:05 +07:00
fix
2024-07-19 21:30:23 +07:00
fix
2024-05-14 12:50:25 +07:00
2024-07-29 17:58:55 +07:00
fix
2024-04-17 19:05:24 +07:00
2024-02-24 16:43:00 +07:00
fix
2024-08-08 14:45:18 +07:00