]> _ Git - cubist_pdf.git/commitdiff
#7954
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 21 Jan 2026 15:06:23 +0000 (16:06 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 21 Jan 2026 15:06:23 +0000 (16:06 +0100)
src/PDFTools.php

index 326efecf375f3129aa3c251224a3183e5172123b..586b3f886615b51dbb5355e125a6ce9b0591e8cb 100644 (file)
@@ -583,8 +583,8 @@ class PDFTools
         $fwstk->execute();
         $p1path = $out . $prefixes[$textExtraction] . 'p1.txt';
         if (!Gzip::file_exists($p1path)) {
-            $fwstk->debug();
-            throw new \Exception('An error occured while producing file ' . $p1path);
+            $debug = $fwstk->debug();
+            throw new \Exception('An error occured while producing file ' . $p1path . ' // ' . $debug);
         }
     }