File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
main/java/org/opencds/cqf/fhir/cr/hapi/common
test/java/org/opencds/cqf/fhir/cr/hapi/common Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,10 @@ public IBaseResource createChangelog(
8282 sourceBundle = (Bundle ) packages .get (0 ).get ();
8383 targetBundle = (Bundle ) packages .get (1 ).get ();
8484 service .shutdownNow ();
85- } catch (InterruptedException | ExecutionException e ) {
86- if ( e instanceof InterruptedException ) {
87- Thread . currentThread (). interrupt ( );
88- }
85+ } catch (InterruptedException e ) {
86+ Thread . currentThread (). interrupt ();
87+ throw new UnprocessableEntityException ( e . getMessage () );
88+ } catch ( ExecutionException e ) {
8989 throw new UnprocessableEntityException (e .getMessage ());
9090 } finally {
9191 service .shutdown ();
Original file line number Diff line number Diff line change 2323class HapiCreateChangelogProcessorTest {
2424
2525 public HapiCreateChangelogProcessor createChangelogProcessor ;
26- public InMemoryFhirRepository repository ;
2726
2827 @ Test
2928 void create_changelog_pages () {
You can’t perform that action at this time.
0 commit comments