diff --git a/spark/src/test/scala/org/apache/comet/CometExpressionCoverageSuite.scala b/spark/src/test/scala/org/apache/comet/CometExpressionCoverageSuite.scala index 525d21ba5..7ea2f502f 100644 --- a/spark/src/test/scala/org/apache/comet/CometExpressionCoverageSuite.scala +++ b/spark/src/test/scala/org/apache/comet/CometExpressionCoverageSuite.scala @@ -324,7 +324,7 @@ class CometExpressionCoverageSuite extends CometTestBase with AdaptiveSparkPlanH datafusionMessage = dfMessage.getOrElse("")), group = func.group) - case e => + case e: Throwable => CoverageResult( q, CoverageResultStatus.Failed,