diff --git a/engine/query/utils/runQuery.js b/engine/query/utils/runQuery.js index 1746157..e88fa55 100644 --- a/engine/query/utils/runQuery.js +++ b/engine/query/utils/runQuery.js @@ -132,7 +132,12 @@ async function runQuery({ dbFullName, query, readOnly, dbSchema, queryValuesArra //////////////////////////////////////// } catch (/** @type {*} */ error) { 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; } diff --git a/package.json b/package.json index 90d2823..8fd1589 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.7.8", + "version": "1.7.9", "description": "Cloud-based SQL data management tool", "main": "index.js", "bin": {