Skip to content

Commit

Permalink
Merge in master
Browse files Browse the repository at this point in the history
  • Loading branch information
damccorm committed Dec 23, 2024
1 parent 68de24c commit 30fd605
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ public <BuilderT extends AwsClientBuilder<BuilderT, ClientT>, ClientT> BuilderT

if (skipCertificateVerification) {
client.tlsKeyManagersProvider(NoneTlsKeyManagersProvider.getInstance());
throw new Exception("Made it this far - probably means the tlsKeyManagersProvider is not right");
throw new RuntimeException(
"Made it this far - probably means the tlsKeyManagersProvider is not right");
}

// must use builder to make sure client is managed by the SDK
Expand Down Expand Up @@ -213,7 +214,8 @@ public <BuilderT extends AwsClientBuilder<BuilderT, ClientT>, ClientT> BuilderT

if (skipCertificateVerification) {
client.tlsKeyManagersProvider(NoneTlsKeyManagersProvider.getInstance());
throw new Exception("Made it this far - probably means the tlsKeyManagersProvider is not right");
throw new RuntimeException(
"Made it this far - probably means the tlsKeyManagersProvider is not right");
}

// must use builder to make sure client is managed by the SDK
Expand Down

0 comments on commit 30fd605

Please sign in to comment.