Skip to content

Commit 1578b88

Browse files
Merge pull request #6292 from dotty-staging/print-report-even-the-executor-crashed
Print report even if the executor crashed
2 parents 1b55f8e + a9ee294 commit 1578b88

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)