Improve tolerance of errors when uploading validation resources

This commit is contained in:
James Agnew 2018-02-24 12:01:51 -05:00
parent 6e47951220
commit 9757f58805
1 changed files with 5 additions and 1 deletions

View File

@ -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++;
}