From 0a392a34eb4c751ee90c339a01f2afba37e6192f Mon Sep 17 00:00:00 2001 From: "sebastian.chiriac" Date: Thu, 5 Jun 2025 15:59:27 +0200 Subject: [PATCH] [Eval Plugin] LLM-17060: reformat logging to never log CancellationException GitOrigin-RevId: 35e376bd21e3fd31a21d3882c61574278bff9e9b --- .../com/intellij/cce/interpreter/InterpretationHandlerImpl.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/evaluation-plugin/src/com/intellij/cce/interpreter/InterpretationHandlerImpl.kt b/plugins/evaluation-plugin/src/com/intellij/cce/interpreter/InterpretationHandlerImpl.kt index c221fe64861b..ce3d04abbfab 100644 --- a/plugins/evaluation-plugin/src/com/intellij/cce/interpreter/InterpretationHandlerImpl.kt +++ b/plugins/evaluation-plugin/src/com/intellij/cce/interpreter/InterpretationHandlerImpl.kt @@ -41,8 +41,7 @@ class InterpretationHandlerImpl( override fun onErrorOccurred(error: Throwable, sessionsSkipped: Int) { completed += sessionsSkipped - if (!ApplicationManager.getApplication().isUnitTestMode && !LOG.errorIfNotMessage(error)) - LOG.error("Actions interpretation error ${error.cause}") + if (!ApplicationManager.getApplication().isUnitTestMode) LOG.errorIfNotMessage(error) } override fun isCancelled(): Boolean {