yaooqinn commented on code in PR #42674: URL: https://github.com/apache/spark/pull/42674#discussion_r1306604695
########## connector/connect/server/src/main/scala/org/apache/spark/sql/connect/ui/SparkConnectServerPage.scala: ########## @@ -330,24 +328,10 @@ private[ui] class SqlStatsPagedTable( <td> {sqlStatsTableRow.sparkSessionTags.mkString(", ")} </td> - {errorMessageCell(Option(info.detail))} + {UIUtils.errorMessageCell(Option(info.detail).getOrElse(""))} Review Comment: The variable is initially set to an empty string and is then assigned to the value of `e.errorMessage` when an error occurs. It appears that `e.errorMessage` can be null in certain situations. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org