diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dotty/partest/DPDirectCompiler.scala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/dotty/partest/DPDirectCompiler.scala b/test/dotty/partest/DPDirectCompiler.scala index c05357edb..ca56ac3e9 100644 --- a/test/dotty/partest/DPDirectCompiler.scala +++ b/test/dotty/partest/DPDirectCompiler.scala @@ -34,7 +34,10 @@ class DPDirectCompiler(runner: DPTestRunner) extends nest.DirectCompiler(runner) runner.genFail(s"compilation failed with ${reporter.errorCount} errors") } } catch { - case t: Throwable => runner.genCrash(t) + case t: Throwable => + t.printStackTrace + t.printStackTrace(clogWriter) + runner.genCrash(t) } finally { clogFWriter.close clogWriter.close |