You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2022/04/15 13:12:02 UTC

[wicket] branch master updated: - Add Resource key to be logged on Warning in Localizer.java (#508)

This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/master by this push:
     new b32846ae27 - Add Resource key to be logged on Warning in Localizer.java (#508)
b32846ae27 is described below

commit b32846ae2730955e2392dcd3f8eb9ea6aad9c991
Author: Johannes Renoth <re...@users.noreply.github.com>
AuthorDate: Fri Apr 15 15:11:58 2022 +0200

    - Add Resource key to be logged on Warning in Localizer.java (#508)
---
 wicket-core/src/main/java/org/apache/wicket/Localizer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wicket-core/src/main/java/org/apache/wicket/Localizer.java b/wicket-core/src/main/java/org/apache/wicket/Localizer.java
index 9ec5059d8d..dbd59a05e3 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Localizer.java
+++ b/wicket-core/src/main/java/org/apache/wicket/Localizer.java
@@ -334,7 +334,7 @@ public class Localizer
 					"Tried to retrieve a localized string for a component that has not yet been added to the page. "
 						+ "This can sometimes lead to an invalid or no localized resource returned. "
 						+ "Make sure you are not calling Component#getString() inside your Component's constructor. "
-						+ "Offending component: {}", component);
+						+ "Offending component: {} - Resource key: {}", component, key);
 			}
 		}