Skip to content

Commit

Permalink
- log pres checker command so we can try running on cmd line if it f…
Browse files Browse the repository at this point in the history
…ails
  • Loading branch information
ritzalam committed Sep 26, 2017
1 parent a124b2d commit 67eb305
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public boolean isValid(UploadedPresentation pres) {
if (FilenameUtils.isExtension(pres.getUploadedFile().getName(), FileTypeConstants.PPTX)) {
String COMMAND = presCheckExec + " " + pres.getUploadedFile().getAbsolutePath();

log.info("Running pres check " + COMMAND);

boolean done = new ExternalProcessExecutor().exec(COMMAND, 60000);

if (done) {
Expand Down

0 comments on commit 67eb305

Please sign in to comment.