]> _ Git - fluidbook_processfarm.git/commitdiff
wait #6296
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 20 Sep 2023 09:05:28 +0000 (11:05 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 20 Sep 2023 09:05:28 +0000 (11:05 +0200)
app/src/ProcessFile.php

index d5ee9cd22841320f142f059b9367b8ad58b3bab2..ca896582e3e56c05f60981eae88178855d750f51 100644 (file)
@@ -183,7 +183,7 @@ class ProcessFile extends \Fluidbook\Tools\Jobs\ProcessFile
         $res = $this->getOut() . 'pdf/p' . $this->getPage() . '.pdf';
         if (!file_exists($res)) {
             if ($this->getPage() > $this->getPDFPagesNumber()) {
-                throw new \Exception('PDF document has ' . $this->getPDFPagesNumber() . ' and you are requesting the page ' . $this->getPage());
+                throw new \Exception('PDF document has ' . $this->getPDFPagesNumber() . ' pages and you are requesting the page ' . $this->getPage());
             }
             PDFTools::split($this->getPdf(), $this->getOut() . '/pdf');
         }