Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #31 from tivac/master

Missing File notification should honor verbose setting
  • Loading branch information...
commit 6727493350e16a2255df8a4264c606138ed2d9fa 2 parents 26977ca + 8cdf2bc
@nzakas authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/net/nczonline/web/cssembed/CSSURLEmbedder.java
View
6 src/net/nczonline/web/cssembed/CSSURLEmbedder.java
@@ -368,8 +368,10 @@ private String getImageURIString(String url, String originalUrl) throws IOExcept
System.err.println("[INFO] Generated data URI for '" + url + "'.");
}
} catch (FileNotFoundException e){
- if (hasOption(SKIP_MISSING_OPTION)){
- System.err.println("[INFO] Could not find file. " + e.getMessage() + " Skipping.");
+ if(hasOption(SKIP_MISSING_OPTION)) {
+ if (verbose){
+ System.err.println("[INFO] Could not find file. " + e.getMessage() + " Skipping.");
+ }
writer.write(originalUrl);
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.