Skip to content

Commit

Permalink
fix(intellij): fix the log for request to chat panel. (#3581)
Browse files Browse the repository at this point in the history
  • Loading branch information
icycodes authored Dec 18, 2024
1 parent ecb4d74 commit f890220
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f890220

Please sign in to comment.