Updates
This commit is contained in:
+3
-3
@@ -29,6 +29,7 @@ query,
|
||||
*/
|
||||
values) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
var _a, _b;
|
||||
try {
|
||||
if (!conn)
|
||||
throw new Error("No Connection Found!");
|
||||
@@ -47,7 +48,7 @@ values) {
|
||||
resArray.push(JSON.parse(JSON.stringify(queryObjRes)));
|
||||
}
|
||||
catch (error) {
|
||||
console.log(`connDbHandler Query Error: ${error.message}`);
|
||||
(_a = global.ERROR_CALLBACK) === null || _a === void 0 ? void 0 : _a.call(global, `Connection DB Handler Query Error`, error);
|
||||
resArray.push(null);
|
||||
}
|
||||
}
|
||||
@@ -58,8 +59,7 @@ values) {
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
console.log(`connDbHandler Error: ${error.message}`);
|
||||
console.log(conn === null || conn === void 0 ? void 0 : conn.config());
|
||||
(_b = global.ERROR_CALLBACK) === null || _b === void 0 ? void 0 : _b.call(global, `Connection DB Handler Error`, error);
|
||||
return null;
|
||||
}
|
||||
finally {
|
||||
|
||||
Reference in New Issue
Block a user