Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Wrap file not found info text in a verbosity check

  • Loading branch information...
commit 8cdf2bcb1ad826d1f664b12fef2496c388023f7f 1 parent 26977ca
@tivac tivac 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.