yaooqinn commented on code in PR #48882:
URL: https://github.com/apache/spark/pull/48882#discussion_r1863144697


##########
core/src/main/scala/org/apache/spark/util/Utils.scala:
##########
@@ -1406,7 +1413,7 @@ private[spark] object Utils
    * Full stack trace of the original doTryWithCallerStacktrace caller can be 
retrieved with
    * ```
    * ex.getSuppressed.find { e =>
-   * e.getMessage == Utils.TRY_WITH_CALLER_STACKTRACE_FULL_STACKTRACE
+   *   e.isInstanceOff[Utils.OriginalTryStackTraceException]

Review Comment:
   ```suggestion
      *   e.isInstanceOf[Utils.OriginalTryStackTraceException]
   ```



-- 
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]

Reply via email to