Improve : logging error

This commit is contained in:
Dany De Bontridder 2020-07-11 18:56:37 +02:00
parent 6906f48e55
commit 800b4139ad
32 changed files with 55 additions and 56 deletions

View file

@ -106,7 +106,7 @@ class Default_Menu
}
} catch (Exception $e)
{
record_log($e->getMessage()." ".$e->getTraceAsString());;
record_log($e);
echo $e->getMessage();
throw $e;
}