diff options
-rw-r--r-- | src/partest/scala/tools/partest/nest/CompileManager.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/nest/CompileManager.scala b/src/partest/scala/tools/partest/nest/CompileManager.scala index 5da1913c1c..c43ec8fca6 100644 --- a/src/partest/scala/tools/partest/nest/CompileManager.scala +++ b/src/partest/scala/tools/partest/nest/CompileManager.scala @@ -178,7 +178,8 @@ class CompileManager(val fileManager: FileManager) { NestUI.verbose("while invoking compiler ("+file+"):") NestUI.verbose("caught "+t) t.printStackTrace - t.getCause.printStackTrace + if (t.getCause != null) + t.getCause.printStackTrace false } } |