WaitForFinishedCodeAnalysis: fix not rethrowing CancellationException

GitOrigin-RevId: a91c594c4e8a8fd7708a7f7f8f6adc06570a7dbf
This commit is contained in:
Anastasia Katsman
2025-03-24 20:32:48 +00:00
committed by intellij-monorepo-bot
parent 4a6cd383db
commit a3a39924ca
@@ -354,6 +354,9 @@ class CodeAnalysisStateListener(val project: Project, val cs: CoroutineScope) {
LOG.info("Analyzer status for ${editor.virtualFile.path}\n ${TrafficLightRenderer(project, editor).use { it.daemonCodeAnalyzerStatus }}")
}
}
catch (ex: CancellationException) {
throw ex
}
catch (ex: Throwable) {
LOG.warn("Print Analyzer status failed", ex)
}