Skip to content

Commit

Permalink
fixup! Improved logging
Browse files Browse the repository at this point in the history
  • Loading branch information
thvitt committed Oct 19, 2016
1 parent cbb1c66 commit 2c7c688
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -129,7 +129,7 @@ public boolean buildSVGs() {
bufferedReader.lines().forEach(line -> logger.warning(line + "[" + this + "]"));
int exitCode = renderProcess.waitFor();
if (exitCode != 0) {
logger.log(Level.SEVERE, MessageFormat.format("Failed to convert SVG for {}: Exit Code {}", document.base.resolve(page), exitCode));
logger.log(Level.SEVERE, MessageFormat.format("Failed to convert SVG for {0}: Exit Code {1}", document.base.resolve(page), exitCode));
}
return exitCode != 0;
} catch (IOException | InterruptedException e) {
Expand Down

0 comments on commit 2c7c688

Please sign in to comment.