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