This commit is contained in:
Benjamin Toby
2025-02-12 12:13:28 +01:00
parent e089f84ef4
commit 5819017a97
3 changed files with 3 additions and 1 deletions
@@ -56,6 +56,7 @@ export default async function connDbHandler<ReturnType = any>(
}
} catch (error: any) {
console.log(`connDbHandler Error: ${error.message}`);
console.log(conn?.config);
return null;
} finally {
conn?.end();