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:
Paolo G. Giarrusso 2013-01-08 00:39:40 +01:00 committed by Mark Harrah
parent 5d696e5428
commit a2224ba0ff
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ object IvyActions
resolver.publish(artifact, file, overwrite)
resolver.commitPublishTransaction()
} catch {
case e =>
case e: Throwable =>
try { resolver.abortPublishTransaction() }
finally { throw e }
}