review follow-up: correct logging (IDEA-363192)

(cherry picked from commit b5e82476bd9b8200b77b6fed06dbfdd6940aab93)

IJ-CR-150469

GitOrigin-RevId: cac4c686bf67262eaf28af6e7444501c2dfd6ca4
This commit is contained in:
Eugene Zhuravlev
2024-12-10 11:26:10 +01:00
committed by intellij-monorepo-bot
parent b334dfb23e
commit a45d559f88

View File

@@ -5,8 +5,8 @@ import com.intellij.concurrency.captureThreadContext
import com.intellij.icons.AllIcons
import com.intellij.openapi.application.EDT
import com.intellij.openapi.components.serviceAsync
import com.intellij.openapi.diagnostic.ControlFlowException
import com.intellij.openapi.diagnostic.thisLogger
import com.intellij.openapi.progress.ProcessCanceledException
import com.intellij.openapi.project.Project
import com.intellij.openapi.startup.StartupManager
import com.intellij.openapi.wm.ToolWindow
@@ -42,7 +42,7 @@ internal class MessageViewImpl(private val project: Project, private val scope:
postponedRunnable.run()
}
catch (e: Throwable) {
if (e !is ProcessCanceledException) {
if (e !is ControlFlowException) {
thisLogger().error(e)
}
if (err == null) {