From 07b292818cb9643b4da513947b345023eb496a1a Mon Sep 17 00:00:00 2001 From: Tben <52448020+BenjaminToby@users.noreply.github.com> Date: Mon, 22 May 2023 09:54:35 +0100 Subject: [PATCH] updates --- utils/post.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/post.js b/utils/post.js index 77d554e..eeb4fb9 100644 --- a/utils/post.js +++ b/utils/post.js @@ -78,7 +78,9 @@ module.exports = async function ({ key, query, database }) { try { resolve(JSON.parse(str)); } catch (error) { - console.log(error); + console.log(error.message); + console.log(str); + resolve({ success: false, payload: null,