Skip to content

Commit

Permalink
improving error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Feb 27, 2020
1 parent 67a2863 commit c1927ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -79,7 +79,7 @@ private Figure getExtractionResult(List<LayoutToken> tokenizations, String resul
} else if (clusterLabel.equals(FIG_CONTENT)) {
figure.appendContent(clusterContent);
} else {
LOGGER.error("Warning: unexpected figure model label - " + clusterLabel + " for " + clusterContent);
LOGGER.warn("Unexpected figure model label - " + clusterLabel.getLabel() + " for " + clusterContent);
}
}
return figure;
Expand Down
Expand Up @@ -83,7 +83,7 @@ private Table getExtractionResult(List<LayoutToken> tokenizations, String result
table.appendContent(clusterContent);
table.getContentTokens().addAll(tokens);
} else {
LOGGER.error("Warning: unexpected table model label - " + clusterLabel + " for " + clusterContent);
LOGGER.warn("Unexpected table model label - " + clusterLabel.getLabel() + " for " + clusterContent);
}

}
Expand Down

0 comments on commit c1927ec

Please sign in to comment.