Github user aarondav commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3073#discussion_r19787979
  
    --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
    @@ -1598,10 +1598,19 @@ private[spark] object Utils extends Logging {
     
       /** Return a nice string representation of the exception, including the 
stack trace. */
       def exceptionString(e: Throwable): String = {
    -    if (e == null) "" else exceptionString(getFormattedClassName(e), 
e.getMessage, e.getStackTrace)
    +    if (e == null) ""
    --- End diff --
    
    nit: this is not a style we typically support -- if it's multiline, we 
typically switch to full braces:
    ```scala
    if (e == null) {
      ""
    } else {
      ...
    }
    ```


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

Reply via email to