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
5d696e5428
commit
a2224ba0ff
|
|
@ -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 }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue