mirror of https://github.com/sbt/sbt.git
Silence boring Eclipse warnings: catching all exceptions, part 2
These warning fixes are new since my last pull request, please verify.
This commit is contained in:
parent
e5673f7426
commit
ef84332a51
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue