Improve tolerance of errors when uploading validation resources
@@ -522,7 +522,11 @@ public class ValidationDataUploader extends BaseCommand {
}
ourLog.info("Uploading {} StructureDefinition {}/{} : {}", new Object[] {name, count, total, next.getIdElement().getValue()});
+ try {
client.update().resource(next).execute();
+ } catch (BaseServerResponseException e) {
+ ourLog.warn("Server responded HTTP " + e.getStatusCode() + ": " + e.toString());
+ }
count++;
}
