diff --git a/engine/query/get.js b/engine/query/get.js index d93b4f3..0907deb 100644 --- a/engine/query/get.js +++ b/engine/query/get.js @@ -68,6 +68,7 @@ async function localGet({ options, dbSchema }) { }); if (error) throw error; + if (!result) throw new Error("No Result received for query => " + query); if (result?.error) throw new Error(result.error); results = result; diff --git a/package.json b/package.json index 675e64f..dc17658 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.8.1", + "version": "1.8.2", "description": "Cloud-based SQL data management tool", "main": "index.js", "bin": {