Skip to content

Commit

Permalink
Update error log about init SSL context
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Jun 19, 2024
1 parent bb3d968 commit e18f58d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ private MongoDatabase getDatabase(String dbName) {
sslContext = SSLContext.getInstance("TLS");
sslContext.init(null, trustManagerFactory.getTrustManagers(), new java.security.SecureRandom());
} catch (Exception e) {
LOGGER.warn("Error with TLS algorithm " + e.getMessage());
LOGGER.warn("Error when init SSL Context: " + e.getMessage());
}
}
if (mongoUsername.length() != 0) {
Expand Down

0 comments on commit e18f58d

Please sign in to comment.