- log pres checker command so we can try running on cmd line if it fails
This commit is contained in:
parent
a124b2d0e8
commit
67eb305552
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user