Skip to content

Commit

Permalink
Item(TCOMP-2766): check svg with log.error
Browse files Browse the repository at this point in the history
  • Loading branch information
yyin-talend committed Jul 11, 2024
1 parent ddd14f9 commit 9d5fab6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private String validateIcon(final Icon annotation, final Collection<String> erro
svgs.stream()
.filter(f -> !f.exists())
.forEach(
svg -> errors.add("No '" + stripPath(svg)
svg -> log.error("No '" + stripPath(svg)
+ "' found, this will run in degraded mode in Talend Cloud"));
if (configuration.isValidateSvg()) {
errors.addAll(svgs.stream().filter(File::exists).flatMap(this::validateSvg).collect(toSet()));
Expand Down

0 comments on commit 9d5fab6

Please sign in to comment.