improve error message when slicing broken

This commit is contained in:
Grahame Grieve 2019-12-19 21:48:32 +11:00
parent a732d84037
commit 001ca1f755
1 changed files with 1 additions and 1 deletions

View File

@ -4705,7 +4705,7 @@ private boolean isAnswerRequirementFulfilled(QuestionnaireItemComponent qItem, L
String errorContext = "profile " + profile.getUrl();
if (!resource.getChildValue("id").isEmpty())
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;
process = false;