From 02721a4d9e11c9574a533d450ddbf288cf256ecf Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Mon, 21 Jan 2019 19:15:58 +0100 Subject: [PATCH] Bug : Exception are not correctly thrown --- html/do.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/do.php b/html/do.php index 71f687dca..1ee017012 100644 --- a/html/do.php +++ b/html/do.php @@ -346,8 +346,9 @@ else catch (Exception $exc) { echo $exc->getMessage(); + record_log("No user profile "); record_log($exc->getTraceAsString()); - throw $e; + throw $exc; } }