diff --git a/compiler/test/dotty/tools/vulpix/ParallelTesting.scala b/compiler/test/dotty/tools/vulpix/ParallelTesting.scala index c750e6a6ccae..a3901fbf8f0d 100644 --- a/compiler/test/dotty/tools/vulpix/ParallelTesting.scala +++ b/compiler/test/dotty/tools/vulpix/ParallelTesting.scala @@ -324,7 +324,7 @@ trait ParallelTesting extends RunnerOrchestration { self => if (!isInteractive) realStdout.println(testing) op } catch { - case NonFatal(e) => { + case e: Throwable => { // if an exception is thrown during compilation, the complete test // run should fail failTestSource(testSource)