Skip to content

Commit 8766b6f

Browse files
svenzikmrts
authored andcommitted
Fix log statement to be clear what configuration option is replaced
WE2-967 Signed-off-by: Sven Mitt <[email protected]>
1 parent a36a935 commit 8766b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/main/java/eu/webeid/example/config/YAMLConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void setLocalOrigin(String localOrigin) {
6868
try {
6969
if (InetAddress.getByName(new URI(localOrigin).getHost()).isLoopbackAddress()) {
7070
this.localOrigin = localOrigin.replaceFirst("^http:", "https:");
71-
LOG.warn("Configuration contains http protocol {}, which is not supported. Replacing it with secure {}", localOrigin, this.localOrigin);
71+
LOG.warn("Configuration local-origin contains http protocol {}, which is not supported. Replacing it with secure {}", localOrigin, this.localOrigin);
7272
return;
7373
}
7474
} catch (URISyntaxException e) {

0 commit comments

Comments
 (0)