From: Vincent Vanwaelscappel Date: Thu, 16 Nov 2023 14:03:08 +0000 (+0100) Subject: wait #6474 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c3d1700896e71ea4177ba0dea8506e681f67e846;p=fluidbook_processfarm.git wait #6474 @1 --- diff --git a/app/process.php b/app/process.php index 329fc33..8db4271 100644 --- a/app/process.php +++ b/app/process.php @@ -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