Improve tolerance of errors when uploading validation resources
This commit is contained in:
parent
6e47951220
commit
9757f58805
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue