Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/7742#discussion_r35783283
--- Diff: core/src/main/scala/org/apache/spark/api/r/RBackendHandler.scala
---
@@ -148,6 +151,9 @@ private[r] class RBackendHandler(server: RBackend)
case e: Exception =>
logError(s"$methodName on $objId failed", e)
writeInt(dos, -1)
+ // Writing the error message of the cause for the exception. This
will be returned
+ // to user in the R process.
+ writeString(dos, e.getCause.getMessage)
--- End diff --
would it make sense to write the stack too? often time it is much more
useful to have the call stack in additional to the exception message
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]