Skip to content

Commit

Permalink
Include previous exception when throwing new one
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Aug 6, 2014
1 parent a2f745c commit 659521f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ private[spark] class ConnectionManager(port: Int, conf: SparkConf,
case e: Exception => {
logError("Error handling sasl client authentication", e)
waitingConn.close()
throw new IOException("Error evaluating sasl response: " + e)
throw new IOException("Error evaluating sasl response: ", e)
}
}
}
Expand Down

0 comments on commit 659521f

Please sign in to comment.