capture exception chasing references

This commit is contained in:
Grahame Grieve 2022-11-28 12:27:41 -03:00
parent 9405d0b715
commit a49a82aab5
1 changed files with 5 additions and 1 deletions

View File

@ -4756,7 +4756,11 @@ public class FHIRPathEngine {
}
}
} else if (hostServices != null) {
res = hostServices.resolveReference(context.appInfo, s, refContext);
try {
res = hostServices.resolveReference(context.appInfo, s, refContext);
} catch (Exception e) {
res = null;
}
}
if (res != null) {
result.add(res);