]> _ Git - fluidbook_processfarm.git/commitdiff
wait #6474 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Nov 2023 14:03:08 +0000 (15:03 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Nov 2023 14:03:08 +0000 (15:03 +0100)
app/process.php

index 329fc3318163768ea4e393551bfa3981ac5e2838..8db4271934a38aba0c5abb1f856ec39e1f9bf640 100644 (file)
@@ -21,7 +21,9 @@ try {
         $p = new ProcessToolboxPDFFile($_POST['pdf'], $_POST['out'], $_POST['page'], $_POST['format'], $_POST['resolution'], (int)$_POST['quality'], $_POST['withGraphics'], $_POST['withText'], $_POST['version'], $_POST['force']);
     }
     $res = $p->process();
+    ob_end_clean();
     die($res);
 } catch (Exception $e) {
-    die($e->getMessage());
+    ob_end_clean();
+    die('!!'.$e->getMessage());
 }
\ No newline at end of file