Skip to content

Commit

Permalink
Added extra diagnostics around initialization
Browse files Browse the repository at this point in the history
Testing suggests that this might be a problem area
  • Loading branch information
Croft committed Apr 30, 2024
1 parent ab532d1 commit b130c61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>de.samply</groupId>
<artifactId>directory_sync_service</artifactId>
<version>1.3.0</version>
<version>1.3.1</version>
<name>directory_sync_service</name>
<description>Directory sync</description>
<url>https://github.com/samply/directory_sync_service</url>
Expand Down Expand Up @@ -51,7 +51,7 @@
<dependency>
<groupId>de.samply</groupId>
<artifactId>directory-sync</artifactId>
<version>0.3.0</version>
<version>0.3.1</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ private boolean syncWithDirectory(Configuration configuration) {
FhirApi fhirApi = createFhirApi(fhirStoreUrl);
FhirReporting fhirReporting = new FhirReporting(ctx, fhirApi);
Sync sync = new Sync(fhirApi, fhirReporting, directoryApi, directoryService);
if (sync.initResources().isLeft()) {
logger.error("__________ syncWithDirectory: problem initializing FHIR resources");
Either<String, Void> initResourcesOutcome = sync.initResources();
if (initResourcesOutcome.isLeft()) {
logger.error("__________ syncWithDirectory: problem initializing FHIR resources: " + initResourcesOutcome.getLeft());
return false;
}
List<OperationOutcome> operationOutcomes;
Expand Down

0 comments on commit b130c61

Please sign in to comment.