summaryrefslogtreecommitdiff
path: root/test/files/run/bugs.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/bugs.scala')
-rw-r--r--test/files/run/bugs.scala4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/files/run/bugs.scala b/test/files/run/bugs.scala
index f98146ba46..757c80cee6 100644
--- a/test/files/run/bugs.scala
+++ b/test/files/run/bugs.scala
@@ -420,9 +420,7 @@ object Test {
} catch {
case exception => {
val name: String = Thread.currentThread().getName();
- System.out.print("Exception in thread \"" + name + "\" ");
- exception.printStackTrace();
- //Console.println(exception.StackTrace); // with -target:msil
+ System.out.print("Exception in thread \"" + name + "\" " + exception);
System.out.println();
errors = errors + 1;
}