Improve error log
This commit is contained in:
parent
066d08fbfa
commit
b025f0075f
31 changed files with 54 additions and 54 deletions
|
|
@ -194,7 +194,7 @@ class Document_modele
|
|||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
record_log($e->getTraceAsString());
|
||||
record_log($e->getMessage()." ".$e->getTraceAsString());;
|
||||
rollback($this->cn);
|
||||
return ;
|
||||
}
|
||||
|
|
@ -360,7 +360,7 @@ class Document_modele
|
|||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
record_log($e->getTraceAsString());
|
||||
record_log($e->getMessage()." ".$e->getTraceAsString());;
|
||||
rollback($this->cn);
|
||||
return ;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue