- log pres checker command so we can try running on cmd line if it fails

This commit is contained in:
Richard Alam 2017-09-26 13:13:10 -07:00
parent a124b2d0e8
commit 67eb305552

View File

@ -24,6 +24,8 @@ public class OfficeDocumentValidator2 {
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) {