mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 09:00:28 +08:00
Fix Certificate missing message not showing file path
This commit is contained in:
parent
a1a38d5087
commit
cc56cf0985
@ -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) {
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user