From f372583cba62fdb7baddafdc270814777b9c3775 Mon Sep 17 00:00:00 2001 From: mic Date: Sun, 21 Jul 2024 20:30:52 +0200 Subject: [PATCH] commented a console.log line --- api_webchat/model-worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_webchat/model-worker.js b/api_webchat/model-worker.js index f41048e4..152851b6 100644 --- a/api_webchat/model-worker.js +++ b/api_webchat/model-worker.js @@ -56,7 +56,7 @@ self.onmessage = async function(event) { if (!response.ok) { const errorJSON = await response.json(); const errorDetail = JSON.stringify(errorJSON); - console.log(">>>>>>>>>>>>> errorJSON.error.message: " + JSON.stringify(errorJSON.error.message)); + //console.log(">>>>>>>>>>>>> errorJSON.error.message: " + JSON.stringify(errorJSON.error.message)); postMessage({ type: 'error', payload: errorJSON.error.message }); throw new Error("[ThunderAI] OpenAI API request failed: " + response.status + " " + response.statusText + ", Detail: " + errorDetail); }