From 2d0da8b05b1a98823eab06ddc6fd23ca74d3d5ac Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Mon, 26 Nov 2018 15:18:15 +0100 Subject: [PATCH] Exception rethrow --- html/do.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/do.php b/html/do.php index 0278416f6..71f687dca 100644 --- a/html/do.php +++ b/html/do.php @@ -311,10 +311,12 @@ if (isset($_REQUEST['ac'])) echo ''; echo _('Retour'); echo ''; + return; } else { alert($e->getMessage()); record_log($e->getTraceAsString()); + throw $e; } } } @@ -345,6 +347,7 @@ else { echo $exc->getMessage(); record_log($exc->getTraceAsString()); + throw $e; } }