heyihong commented on code in PR #42771:
URL: https://github.com/apache/spark/pull/42771#discussion_r1317679802
##########
connector/connect/common/src/main/scala/org/apache/spark/sql/connect/client/GrpcExceptionConverter.scala:
##########
@@ -107,7 +107,7 @@ private[client] object GrpcExceptionConverter extends
JsonUtils {
private def toThrowable(ex: StatusRuntimeException): Throwable = {
val status = StatusProto.fromThrowable(ex)
- val fallbackEx = new SparkException(status.getMessage, ex.getCause)
+ val fallbackEx = new SparkException(ex.toString, ex.getCause)
Review Comment:
Updated the description to include before/after. Please take a look
--
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]