Improve error message (#3132)

Improve error message when key store could not be loaded (should not include a space)
This commit is contained in:
Daniele Di Carlo
2024-03-08 19:58:26 +01:00
committed by GitHub
parent e0adbc0114
commit 46a9ed79f4

View File

@@ -118,7 +118,7 @@ public abstract class AbstractSslConfigurer<T, S> {
ssl.getKeyStorePassword() != null ? ssl.getKeyStorePassword().toCharArray() : null);
}
catch (Exception e) {
throw new RuntimeException("Could not load key store ' " + ssl.getKeyStore() + "'", e);
throw new RuntimeException("Could not load key store '" + ssl.getKeyStore() + "'", e);
}
return store;