mirror of https://github.com/sbt/sbt.git
Fix merge
This commit is contained in:
parent
863004961c
commit
b3edb6a405
|
|
@ -22,5 +22,3 @@ align.openParenDefnSite = false
|
|||
danglingParentheses.preset = true
|
||||
|
||||
trailingCommas = preserve
|
||||
|
||||
runner.dialect = Scala212Source3
|
||||
|
|
|
|||
|
|
@ -64,12 +64,14 @@ object ErrorMessageAuthenticator {
|
|||
ivyOriginalField.set(ivy, newOriginal)
|
||||
}
|
||||
|
||||
try Option(ivyOriginalField.get(ivy).asInstanceOf[Authenticator]) match {
|
||||
case Some(
|
||||
_: ErrorMessageAuthenticator
|
||||
) => // We're already installed, no need to do the work again.
|
||||
case originalOpt => installIntoIvyImpl(originalOpt)
|
||||
} catch {
|
||||
try
|
||||
Option(ivyOriginalField.get(ivy).asInstanceOf[Authenticator]) match {
|
||||
case Some(
|
||||
_: ErrorMessageAuthenticator
|
||||
) => // We're already installed, no need to do the work again.
|
||||
case originalOpt => installIntoIvyImpl(originalOpt)
|
||||
}
|
||||
catch {
|
||||
case t: Throwable =>
|
||||
Message.debug(
|
||||
"Error occurred while trying to install debug messages into Ivy Authentication" + t.getMessage
|
||||
|
|
|
|||
Loading…
Reference in New Issue