IDEA-339878: report freezes as errors to increase visibility

GitOrigin-RevId: 86cea86950bf575c1d652b62c012c6e7f10466f5
This commit is contained in:
Anastasia Katsman
2023-12-07 13:42:28 +00:00
committed by intellij-monorepo-bot
parent 9c3f304e08
commit 4de138ab3d
@@ -436,12 +436,7 @@ private fun postProcessReportFolder(durationMs: Long, task: SamplingTask, dir: P
}
val message = "UI was frozen for ${durationMs}ms, details saved to $reportDir"
if (PluginManagerCore.isRunningFromSources()) {
LOG.info(message)
}
else {
LOG.warn(message)
}
LOG.error(message)
return reportDir
}