From 45df9b3e27253e19c4428202d87d450573babdc7 Mon Sep 17 00:00:00 2001 From: Jeremy Whiting Date: Tue, 23 Apr 2024 12:37:57 +0100 Subject: [PATCH] Add key property name to provide context. --- .../builditem/RunTimeConfigurationDefaultBuildItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/builditem/RunTimeConfigurationDefaultBuildItem.java b/core/deployment/src/main/java/io/quarkus/deployment/builditem/RunTimeConfigurationDefaultBuildItem.java index 55aa3d761ed39..aecb5c9186fbf 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/builditem/RunTimeConfigurationDefaultBuildItem.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/builditem/RunTimeConfigurationDefaultBuildItem.java @@ -22,7 +22,7 @@ public final class RunTimeConfigurationDefaultBuildItem extends MultiBuildItem { public RunTimeConfigurationDefaultBuildItem(final String key, final String value) { Assert.checkNotNullParam("key", key); Assert.checkNotEmptyParam("key", key); - Assert.checkNotNullParam("value", value); + Assert.checkNotNullParam("value for key " + key, value); this.key = key; this.value = value; }