From ef84332a516ff2094d6c004f1b3da0da630cb9a6 Mon Sep 17 00:00:00 2001 From: "Paolo G. Giarrusso" Date: Tue, 8 Jan 2013 00:39:40 +0100 Subject: [PATCH] Silence boring Eclipse warnings: catching all exceptions, part 2 These warning fixes are new since my last pull request, please verify. --- util/collection/src/main/scala/sbt/INode.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/collection/src/main/scala/sbt/INode.scala b/util/collection/src/main/scala/sbt/INode.scala index 86ddff060..e9f64ef6c 100644 --- a/util/collection/src/main/scala/sbt/INode.scala +++ b/util/collection/src/main/scala/sbt/INode.scala @@ -70,7 +70,7 @@ abstract class EvaluateSettings[Scope] } private[this] def run0(work: => Unit): Unit = { - try { work } catch { case e => complete.put( Some(e) ) } + try { work } catch { case e: Throwable => complete.put( Some(e) ) } workComplete() }