Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/10729#discussion_r49741521
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosSchedulerUtils.scala
---
@@ -109,20 +109,17 @@ private[mesos] trait MesosSchedulerUtils extends
Logging {
new Thread(Utils.getFormattedClassName(this) + "-mesos-driver") {
setDaemon(true)
+ setUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler {
--- End diff --
I don't think it's clearer in that you'd have to understand what this
handler does. A try-catch seems more recognizable
---
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]