]> _ Git - cubist_pdf.git/commitdiff
wip #5195 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 29 Mar 2022 19:45:05 +0000 (21:45 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 29 Mar 2022 19:45:05 +0000 (21:45 +0200)
src/Document.php

index 78d8e2895398ea957b8286492bc36e5eaf039e70..05c56b306f4a8eaf92341dfd170dc1cced564839 100644 (file)
@@ -103,6 +103,7 @@ class Document
         }
 
         if ($this->pages <= 0) {
+            unlink($nfoFile);
             throw new \Exception(sprintf('Error running FWSTK %s', $infos));
         }