Skip to content
Snippets Groups Projects
Commit 39d99168 authored by Antonio's avatar Antonio
Browse files

Added exception handling instead of just exiting in LocalScheduler for tasks that throw exceptions

parent f709b3ad
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,8 @@ private class LocalScheduler(threads: Int, maxFailures: Int) extends DAGSchedule ...@@ -58,7 +58,8 @@ private class LocalScheduler(threads: Int, maxFailures: Int) extends DAGSchedule
submitTask(task, idInJob) submitTask(task, idInJob)
} else { } else {
// TODO: Do something nicer here to return all the way to the user // TODO: Do something nicer here to return all the way to the user
System.exit(1) //System.exit(1)
taskEnded(task, new ExceptionFailure(t), null, null)
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment