summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2023-03-23 12:28:21 +0000
committerArne Juul <arnej@yahooinc.com>2023-03-23 12:28:21 +0000
commit0b047cc682e5091b072244269ff8b44f735e5050 (patch)
tree16759e180359383ef25448141ccabddb252f9ed9 /config-model
parent81e7d6afb92f5c94ba8956d663a61aa48851f3ad (diff)
let Exceptions.toMessageString handle message concatenation
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/schema/derived/DerivedConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/derived/DerivedConfiguration.java b/config-model/src/main/java/com/yahoo/schema/derived/DerivedConfiguration.java
index 9d10047288b..e64f625bdf4 100644
--- a/config-model/src/main/java/com/yahoo/schema/derived/DerivedConfiguration.java
+++ b/config-model/src/main/java/com/yahoo/schema/derived/DerivedConfiguration.java
@@ -89,7 +89,7 @@ public class DerivedConfiguration implements AttributesConfig.Producer {
Validation.validate(this, schema);
}
catch (IllegalArgumentException|IllegalStateException e) {
- throw new IllegalArgumentException("Invalid " + schema + " -> " + e.getMessage(), e);
+ throw new IllegalArgumentException("Invalid " + schema, e);
}
}