summaryrefslogtreecommitdiff
path: root/test/files/jvm/t3356.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/t3356.scala')
-rw-r--r--test/files/jvm/t3356.scala9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/files/jvm/t3356.scala b/test/files/jvm/t3356.scala
index 8a82677b5f..5626281e7d 100644
--- a/test/files/jvm/t3356.scala
+++ b/test/files/jvm/t3356.scala
@@ -38,13 +38,8 @@ object Test {
react {
case FutureInput ! (data @ ImageData(_)) =>
renderImage(data)
- case Exit(from, ue: UncaughtException[_]) =>
- ue.message match {
- case Some(Download(info)) =>
- println("Couldn't download image "+info+" because of "+ue.getCause())
- case _ =>
- println("Couldn't download image because of "+ue.getCause())
- }
+ case Exit(from, UncaughtException(_, Some(Download(info)), _, _, cause)) =>
+ println("Couldn't download image "+info+" because of "+cause)
}
}
println("OK, all images rendered.")