[Minor] fix error message in StrolchElementToJsonVisitor

This commit is contained in:
Robert von Burg 2022-02-25 09:01:00 +01:00
parent 30139f2da0
commit 0193abca70
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ public class StrolchElementToJsonVisitor implements StrolchElementVisitor<JsonEl
if (rootJ.has(paramId)) {
throw new StrolchModelException(
"JsonObject already has a member with ID " + paramId + ": " + parameterBag.getLocator());
"JsonObject already has a member with ID " + paramId + ": " + param.getLocator());
}
StrolchValueType type = StrolchValueType.parse(param.getType());