mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
chore: clean up lint/type issues and tighten comment media URL validation
This commit is contained in:
@@ -26,7 +26,7 @@ function createPool(connectionString: string): Pool {
|
||||
const pool = new Pool(poolConfig);
|
||||
|
||||
// Add error handling for pool errors
|
||||
pool.on('error', (err, client) => {
|
||||
pool.on('error', (err) => {
|
||||
console.error('Unexpected database pool error:', err.message);
|
||||
// Don't crash the app on unexpected pool errors
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user