Skip to content

Commit a9ee294

Browse files
committed
Print report even if the executor crashed
When an executor crashes the error report is emitted and the exception is printed out.
1 parent c5f34f6 commit a9ee294

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

compiler/test/dotty/tools/vulpix/ParallelTesting.scala

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,14 @@ trait ParallelTesting extends RunnerOrchestration { self =>
481481
throw new TimeoutException("Compiling targets timed out")
482482
}
483483

484-
eventualResults.foreach(_.get)
484+
eventualResults.foreach { x =>
485+
try x.get()
486+
catch {
487+
case ex: Exception =>
488+
System.err.println(ex.getMessage)
489+
ex.printStackTrace()
490+
}
491+
}
485492

486493
if (logProgress) {
487494
timer.cancel()

0 commit comments

Comments
 (0)