Skip to content

Commit 30f3c50

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 64dd0cf commit 30f3c50

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
@@ -65,7 +65,7 @@ public void setLocalOrigin(String localOrigin) {
6565
try {
6666
if (InetAddress.getByName(new URI(localOrigin).getHost()).isLoopbackAddress()) {
6767
this.localOrigin = localOrigin.replaceFirst("^http:", "https:");
68-
LOG.warn("Configuration contains http protocol {}, which is not supported. Replacing it with secure {}", localOrigin, this.localOrigin);
68+
LOG.warn("Configuration local-origin contains http protocol {}, which is not supported. Replacing it with secure {}", localOrigin, this.localOrigin);
6969
return;
7070
}
7171
} catch (URISyntaxException e) {

0 commit comments

Comments
 (0)