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

@ -86,7 +86,7 @@ class Pre_op_fin extends Pre_operation_detail
}
catch (Exception $e)
{
record_log($e->getMessage()." ".$e->getTraceAsString());;
record_log($e);
echo ($e->getMessage());
$this->db->rollback();
}