diff --git a/package.json b/package.json index eb6d051..8b1131e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.1.18", + "version": "1.1.19", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": { diff --git a/utils/post.js b/utils/post.js index 178eaa6..67cdac6 100644 --- a/utils/post.js +++ b/utils/post.js @@ -115,6 +115,11 @@ module.exports = async function ({ key, query, database }) { ); httpsRequest.write(reqPayload); + + httpsRequest.on("error", (error) => { + console.log("HTTPS request ERROR =>", error); + }); + httpsRequest.end(); });