Skip to content

Commit 2b1775f

Browse files
committed
Change download chemcomp log to WARN
1 parent edd7554 commit 2b1775f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmcif/DownloadChemCompProvider.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,9 @@ public ChemComp getChemComp(String recordName) {
284284

285285
} catch (IOException e) {
286286

287-
logger.error("Could not parse chemical component file {}. Error: {}. "
288-
+ "There will be no chemical component info available for {}", filename, e.getMessage(), recordName);
287+
logger.warn(
288+
"Could not download chemical component file {} for {}. Error: {}. Now trying to use the local chemical component definitions.",
289+
filename, recordName, e.getMessage());
289290

290291
}
291292
finally{

0 commit comments

Comments
 (0)