This commit is contained in:
Tben 2023-08-14 03:44:41 +01:00
parent 819a233e4d
commit 9cc5dc245a
2 changed files with 7 additions and 2 deletions

View File

@ -132,7 +132,12 @@ async function runQuery({ dbFullName, query, readOnly, dbSchema, queryValuesArra
//////////////////////////////////////// ////////////////////////////////////////
} catch (/** @type {*} */ error) { } catch (/** @type {*} */ error) {
console.log("Error in Running Query =>", error.message); console.log("Error in Running Query =>", error.message);
result = null; console.log("Query Recieved =>", query);
result = {
result: null,
error: "Error in running Query => " + error.message,
};
error = error.message; error = error.message;
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "datasquirel", "name": "datasquirel",
"version": "1.7.8", "version": "1.7.9",
"description": "Cloud-based SQL data management tool", "description": "Cloud-based SQL data management tool",
"main": "index.js", "main": "index.js",
"bin": { "bin": {