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
Rizky
a09cf17451
fix record
2024-12-11 16:38:22 +07:00
Rizky
2299073e4a
undo csp
2024-11-14 22:13:07 +07:00
Rizky
0ae6dc5743
csp
2024-11-14 21:37:31 +07:00
Rizky
ca8ba09889
fix
2024-11-14 18:44:16 +07:00
Rizky
67deac8114
adding batch upsert to server.ts
2024-11-08 14:34:47 +07:00
Rizky
4bf174a09c
fix batch upsert
2024-10-09 14:16:03 +07:00
Rizky
1cca29d504
fix
2024-08-20 11:29:11 +07:00
Rizky
b5be015424
fix
2024-08-19 20:52:04 +07:00
Rizky
72c9212d9e
fix
2024-08-19 20:17:23 +07:00
Rizky
9a562eeb76
fix
2024-08-17 14:30:15 +07:00
Rizky
599ec7b777
fix subprocess
2024-08-15 21:42:34 +07:00
Rizky
13c691a286
fix
2024-08-15 21:30:37 +07:00
Rizky
02239da2e2
fix restart delay
2024-08-15 06:04:23 +07:00
Rizky
b9c5108384
fix pub data
2024-08-15 05:23:36 +07:00
Rizky
700cc0887c
fix batch upsert no return deleted
2024-08-12 11:12:42 +07:00
Rizky
78a4141dc8
fix mode batch upsert
2024-08-12 10:50:33 +07:00
Rizky
e23a4a2977
fix query
2024-08-12 10:15:23 +07:00
Rizky
9c04dadf03
update finfo
2024-08-10 18:24:30 +07:00
Rizky
595735b1a4
fix
2024-08-08 16:26:12 +07:00
Rizky
b7ae338e59
fix
2024-08-08 16:22:43 +07:00
Rizky
6bc5db089a
fix
2024-08-08 16:22:17 +07:00
Rizky
c33e081841
fix
2024-08-08 14:45:18 +07:00
Rizky
2e168805e0
fix
2024-08-04 14:53:27 +07:00
Rizky
5f97ccb5c4
fix
2024-07-29 18:45:11 +07:00
Rizky
1f15dbe2bb
fixing hex
2024-07-29 17:58:55 +07:00
Rizky
fad1e6ffc1
fix
2024-07-28 09:02:49 +07:00
Rizky
9d9792c56c
fix rel many
2024-07-25 19:05:21 +07:00
Rizky
2b6c39c550
fix rels
2024-07-25 16:19:52 +07:00
Rizky
13ff6810ca
fix
2024-07-20 14:30:57 +07:00
Rizky
67a49305ac
fix
2024-07-19 20:59:02 +07:00
Rizky
b7ff711617
add kv
2024-07-18 22:48:10 +07:00
Rizky
e86049c06f
fix
2024-07-17 11:58:16 +07:00
Rizky
e29779f052
fix
2024-07-17 02:00:07 +07:00
Rizky
378d489003
fix
2024-07-16 23:34:44 +07:00
Rizky
b909f68e82
fix
2024-07-16 23:34:35 +07:00
Rizky
a19c228028
fix
2024-07-07 08:19:06 +07:00
Rizky
80cf37b006
fix
2024-07-07 08:13:59 +07:00
Rizky
67322f6fda
fix
2024-07-07 08:13:28 +07:00
Rizky
e1aa1c0d3f
fix
2024-07-07 08:10:37 +07:00
Rizky
9434c4a188
fix
2024-07-07 08:08:13 +07:00
Rizky
36f795222a
fix
2024-07-07 08:05:34 +07:00
Rizky
4a1b05dd56
fix
2024-07-07 08:04:20 +07:00
Rizky
174a54e955
fix
2024-07-07 08:02:09 +07:00
Rizky
87dd053b2a
fix
2024-07-07 08:01:56 +07:00
Rizky
dc94587a2c
fix
2024-07-07 07:59:08 +07:00
Rizky
bc5eeafd04
fix
2024-07-07 07:53:59 +07:00
Rizky
126c116c54
fix
2024-07-07 06:56:19 +07:00
Rizky
e6443b87a1
fix
2024-07-06 18:31:19 +07:00
Rizky
3f885e6470
fix
2024-06-28 00:42:55 +07:00