Fix Certificate missing message not showing file path

This commit is contained in:
Aurora Lahtela 2022-09-03 11:36:22 +03:00
parent a1a38d5087
commit cc56cf0985
2 changed files with 3 additions and 3 deletions

View File

@ -95,8 +95,8 @@ public class WebserverLogMessages {
logger.warn(locale.getString(PluginLang.WEB_SERVER_FAIL_STORE_LOAD));
}
public void keystoreFileNotFound() {
logger.info(locale.getString(PluginLang.WEB_SERVER_NOTIFY_NO_CERT_FILE));
public void keystoreFileNotFound(String keyStorePath) {
logger.info(locale.getString(PluginLang.WEB_SERVER_NOTIFY_NO_CERT_FILE, keyStorePath));
}
public void certificateExpiryIn(long expires) {

View File

@ -191,7 +191,7 @@ public class JettyWebserver implements WebServer {
String keyStorePath = webserverConfiguration.getKeyStorePath();
if (!new File(keyStorePath).exists()) {
webserverLogMessages.keystoreFileNotFound();
webserverLogMessages.keystoreFileNotFound(keyStorePath);
return Optional.empty();
}