From 9cc5dc245aa123f073ea6f4b71c3a8b2be532812 Mon Sep 17 00:00:00 2001 From: Tben Date: Mon, 14 Aug 2023 03:44:41 +0100 Subject: [PATCH] Bugfixes --- engine/query/utils/runQuery.js | 7 ++++++- package.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) 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": {