fix error in test

This commit is contained in:
Grahame Grieve 2024-11-18 06:04:16 +11:00
parent 0843ce7f49
commit aea8621bb1
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import org.hl7.fhir.r5.model.OperationOutcome;
import org.hl7.fhir.r5.model.OperationOutcome.IssueSeverity;
import org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent;
import org.hl7.fhir.r5.test.utils.TestingUtilities;
import org.hl7.fhir.r5.utils.OperationOutcomeUtilities;
import org.hl7.fhir.utilities.CommaSeparatedStringBuilder;
import org.hl7.fhir.utilities.FhirPublication;
import org.hl7.fhir.utilities.settings.FhirSettings;
@ -89,6 +90,7 @@ public class ValidationEngineTests {
} catch (Exception e) {
e.printStackTrace();
System.err.println("Thread " + index + " failed");
outcomes[index] = OperationOutcomeUtilities.outcomeFromTextError(e.getMessage());
}
});
t.start();