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