createPreview() returns false if command cannot be executed

This commit is contained in:
Uwe Steinmann 2017-09-18 10:22:39 +02:00
parent 8c776c8269
commit 82ca6f8302

View File

@ -101,6 +101,7 @@ class SeedDMS_Preview_PdfPreviewer extends SeedDMS_Preview_Base {
try {
self::execWithTimeout($cmd, $this->timeout);
} catch(Exception $e) {
return false;
}
}
return true;