improve error message when slicing broken
This commit is contained in:
parent
a732d84037
commit
001ca1f755
|
@ -4705,7 +4705,7 @@ private boolean isAnswerRequirementFulfilled(QuestionnaireItemComponent qItem, L
|
||||||
String errorContext = "profile " + profile.getUrl();
|
String errorContext = "profile " + profile.getUrl();
|
||||||
if (!resource.getChildValue("id").isEmpty())
|
if (!resource.getChildValue("id").isEmpty())
|
||||||
errorContext += "; instance " + resource.getChildValue("id");
|
errorContext += "; instance " + resource.getChildValue("id");
|
||||||
throw new DefinitionException("Slice encountered midway through path on " + slicer.getPath() + "; " + errorContext);
|
throw new DefinitionException("Slice encountered midway through set (path = " + slicer.getPath() + ", id = "+slicer.getId()+"); " + errorContext);
|
||||||
}
|
}
|
||||||
slicer = ed;
|
slicer = ed;
|
||||||
process = false;
|
process = false;
|
||||||
|
|
Loading…
Reference in New Issue