Commit ffc949ea authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Skip unrecognized descriptors when importing archives.

parent e58c47f5
......@@ -2,6 +2,8 @@
* Medium changes
- Support quoted qualified search terms.
- Skip unrecognized descriptors when importing archives rather than
aborting the entire import.
# Changes in version 4.2-1.6.1 - 2017-10-26
......
......@@ -170,9 +170,8 @@ public class DescriptorSource {
if (descriptorType == null) {
log.warn("Unrecognized descriptor in "
+ this.inArchiveDir.getAbsolutePath() + " with annotations "
+ descriptor.getAnnotations() + ". Not reading any further"
+ "archived descriptors.");
break;
+ descriptor.getAnnotations() + ". Skipping descriptor.");
continue;
}
for (DescriptorListener descriptorListener :
this.descriptorListeners.get(descriptorType)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment