Skip to content

Commit

Permalink
Also catch IllegalArgumentException
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-ronge authored Jan 25, 2024
1 parent a2d6095 commit b0d52f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ private void enrichProcessData(Process process, boolean forIndexingAll) throws I
process.setNumberOfMetadata(getNumberOfMetadata(workpiece));
process.setNumberOfStructures(getNumberOfStructures(workpiece));
process.setBaseType(getBaseType(workpiece));
} catch (IOException e) {
} catch (IllegalArgumentException | IOException e) {
logger.warn("Cannot read metadata file for indexing: {}", metadataFilePath);
logger.catching(Level.DEBUG, e);
}
Expand Down

0 comments on commit b0d52f7

Please sign in to comment.