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