From c3d1700896e71ea4177ba0dea8506e681f67e846 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 16 Nov 2023 15:03:08 +0100 Subject: [PATCH] wait #6474 @1 --- app/process.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5