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

View File

@ -59,6 +59,7 @@ values) {
} }
catch (error) { catch (error) {
console.log(`connDbHandler Error: ${error.message}`); console.log(`connDbHandler Error: ${error.message}`);
console.log(conn === null || conn === void 0 ? void 0 : conn.config);
return null; return null;
} }
finally { finally {

View File

@ -56,6 +56,7 @@ export default async function connDbHandler<ReturnType = any>(
} }
} catch (error: any) { } catch (error: any) {
console.log(`connDbHandler Error: ${error.message}`); console.log(`connDbHandler Error: ${error.message}`);
console.log(conn?.config);
return null; return null;
} finally { } finally {
conn?.end(); conn?.end();

View File

@ -1,6 +1,6 @@
{ {
"name": "@moduletrace/datasquirel", "name": "@moduletrace/datasquirel",
"version": "4.0.8", "version": "4.0.9",
"description": "Cloud-based SQL data management tool", "description": "Cloud-based SQL data management tool",
"main": "dist/index.js", "main": "dist/index.js",
"bin": { "bin": {