allisonwang-db commented on code in PR #40780:
URL: https://github.com/apache/spark/pull/40780#discussion_r1169454886
##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SparkConnectService.scala:
##########
@@ -85,7 +86,7 @@ class SparkConnectService(debug: Boolean)
.setDomain("org.apache.spark")
.putMetadata("classes",
compact(render(allClasses(st.getClass).map(_.getName))))
.build()))
- .setMessage(StringUtils.abbreviate(st.getMessage, 2048))
+ .setMessage(if (message != null) message else "")
Review Comment:
~We should still abbreviate this message when it's not null~ Nvm it's added
at the top.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]