From f8902207e682a4170de81e6673869cff30a915cc Mon Sep 17 00:00:00 2001 From: Zhiming Ma Date: Wed, 18 Dec 2024 11:40:06 +0800 Subject: [PATCH] fix(intellij): fix the log for request to chat panel. (#3581) --- .../main/kotlin/com/tabbyml/intellijtabby/chat/ChatBrowser.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/chat/ChatBrowser.kt b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/chat/ChatBrowser.kt index 6925bc4e9b90..a94930636410 100644 --- a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/chat/ChatBrowser.kt +++ b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/chat/ChatBrowser.kt @@ -592,8 +592,9 @@ class ChatBrowser(private val project: Project) : JBCefBrowser( } })() """.trimIndent().trimStart() + + logger.debug("Request to chat panel: $uuid, $method, $paramsJson") if (isChatPanelLoaded) { - logger.debug("Request to chat panel: $uuid, $method, $paramsJson") executeJs(script) } else { pendingScripts.add(script)