noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 01/03: Bug : Exception are not correctly thro


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/03: Bug : Exception are not correctly thrown
Date: Tue, 22 Jan 2019 13:13:25 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 02721a4d9e11c9574a533d450ddbf288cf256ecf
Author: Dany De Bontridder <address@hidden>
Date:   Mon Jan 21 19:15:58 2019 +0100

    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 71f687d..1ee0170 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;
     }
     
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]