summaryrefslogtreecommitdiff
path: root/test/files/run/runtime.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/runtime.scala')
-rw-r--r--test/files/run/runtime.scala4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/files/run/runtime.scala b/test/files/run/runtime.scala
index e576cbc871..f83f0a4133 100644
--- a/test/files/run/runtime.scala
+++ b/test/files/run/runtime.scala
@@ -108,9 +108,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;
}