mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
Don't log PCE and instead rethrow it
GitOrigin-RevId: 9f7625564125f10df17bc0ae2a17d5168eaf38e8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
af1f21124c
commit
fe4b70eaa0
@@ -4,6 +4,7 @@ package com.jetbrains.performancePlugin.remotedriver.dataextractor
|
||||
|
||||
import com.intellij.driver.model.TextData
|
||||
import com.intellij.openapi.diagnostic.thisLogger
|
||||
import com.intellij.openapi.progress.ProcessCanceledException
|
||||
import org.assertj.swing.edt.GuiActionRunner
|
||||
import org.assertj.swing.edt.GuiTask
|
||||
import java.awt.Component
|
||||
@@ -55,6 +56,9 @@ object TextParser {
|
||||
try {
|
||||
component.paint(g)
|
||||
}
|
||||
catch (ce: ProcessCanceledException){
|
||||
throw ce
|
||||
}
|
||||
catch (e: Exception) {
|
||||
logger.error("Text parsing error. Can't do paint on ${component::class.java.simpleName}", e)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user