Handle missing terminology server better
This commit is contained in:
parent
d6018f26c8
commit
4bc81c0e0c
|
@ -669,7 +669,12 @@ public abstract class BaseWorkerContext implements IWorkerContext {
|
|||
if (expParameters == null)
|
||||
throw new Error("No ExpansionProfile provided");
|
||||
pin.addParameter().setName("profile").setResource(expParameters);
|
||||
txLog.clearLastId();
|
||||
if (txLog != null) {
|
||||
txLog.clearLastId();
|
||||
}
|
||||
if (txClient == null) {
|
||||
throw new FHIRException("Attempt to use Terminology server when no Terminology server is available");
|
||||
}
|
||||
Parameters pOut;
|
||||
if (vs == null)
|
||||
pOut = txClient.validateCS(pin);
|
||||
|
|
Loading…
Reference in New Issue