Improve : logging error
This commit is contained in:
parent
6906f48e55
commit
800b4139ad
32 changed files with 55 additions and 56 deletions
|
|
@ -106,7 +106,7 @@ class Default_Menu
|
|||
}
|
||||
} catch (Exception $e)
|
||||
{
|
||||
record_log($e->getMessage()." ".$e->getTraceAsString());;
|
||||
record_log($e);
|
||||
echo $e->getMessage();
|
||||
throw $e;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue