Bug : Exception are not correctly thrown
This commit is contained in:
parent
ffb025527a
commit
02721a4d9e
1 changed files with 2 additions and 1 deletions
|
|
@ -346,8 +346,9 @@ else
|
|||
catch (Exception $exc)
|
||||
{
|
||||
echo $exc->getMessage();
|
||||
record_log("No user profile ");
|
||||
record_log($exc->getTraceAsString());
|
||||
throw $e;
|
||||
throw $exc;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue